﻿#if USE_UNI_LUA
using LuaAPI = UniLua.Lua;
using RealStatePtr = UniLua.ILuaState;
using LuaCSFunction = UniLua.CSharpFunctionDelegate;
#else
using LuaAPI = XLua.LuaDLL.Lua;
using RealStatePtr = System.IntPtr;
using LuaCSFunction = XLuaBase.lua_CSFunction;
#endif

using XLua;
using System.Collections.Generic;


namespace XLua.CSObjectWrap
{
    using Utils = XLua.Utils;
    public class YoozooGameplayRTSMarchManagerWrap 
    {
        public static void __Register(RealStatePtr L)
        {
			ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
			System.Type type = typeof(Yoozoo.Gameplay.RTS.MarchManager);
			Utils.BeginObjectRegister(type, L, translator, 0, 66, 14, 12);
			
			Utils.RegisterFunc(L, Utils.METHOD_IDX, "OnWorldCameraReady", _m_OnWorldCameraReady);
			Utils.RegisterFunc(L, Utils.METHOD_IDX, "OnRoundFightOver", _m_OnRoundFightOver);
			Utils.RegisterFunc(L, Utils.METHOD_IDX, "RegisterNonResourceReliableTasks", _m_RegisterNonResourceReliableTasks);
			Utils.RegisterFunc(L, Utils.METHOD_IDX, "ResetFormation", _m_ResetFormation);
			Utils.RegisterFunc(L, Utils.METHOD_IDX, "GetSegment", _m_GetSegment);
			Utils.RegisterFunc(L, Utils.METHOD_IDX, "UpdateAllianceId", _m_UpdateAllianceId);
			Utils.RegisterFunc(L, Utils.METHOD_IDX, "UpdateTroopTargetPosition", _m_UpdateTroopTargetPosition);
			Utils.RegisterFunc(L, Utils.METHOD_IDX, "CreateMarch", _m_CreateMarch);
			Utils.RegisterFunc(L, Utils.METHOD_IDX, "CreateMonsterMarch", _m_CreateMonsterMarch);
			Utils.RegisterFunc(L, Utils.METHOD_IDX, "SetMarchAndMonsterRoot", _m_SetMarchAndMonsterRoot);
			Utils.RegisterFunc(L, Utils.METHOD_IDX, "GetRoot", _m_GetRoot);
			Utils.RegisterFunc(L, Utils.METHOD_IDX, "GetAllMarchEntities", _m_GetAllMarchEntities);
			Utils.RegisterFunc(L, Utils.METHOD_IDX, "GetMarchEntityByIdAndType", _m_GetMarchEntityByIdAndType);
			Utils.RegisterFunc(L, Utils.METHOD_IDX, "DelayDestroyMarch", _m_DelayDestroyMarch);
			Utils.RegisterFunc(L, Utils.METHOD_IDX, "DestroyMarch", _m_DestroyMarch);
			Utils.RegisterFunc(L, Utils.METHOD_IDX, "DoArenaRoundFight", _m_DoArenaRoundFight);
			Utils.RegisterFunc(L, Utils.METHOD_IDX, "OnLeaveSandBox", _m_OnLeaveSandBox);
			Utils.RegisterFunc(L, Utils.METHOD_IDX, "StopAllMusic", _m_StopAllMusic);
			Utils.RegisterFunc(L, Utils.METHOD_IDX, "OnEnterSandBox", _m_OnEnterSandBox);
			Utils.RegisterFunc(L, Utils.METHOD_IDX, "UpdateArenaKeyFrame", _m_UpdateArenaKeyFrame);
			Utils.RegisterFunc(L, Utils.METHOD_IDX, "UpdateArenaBattleTroop", _m_UpdateArenaBattleTroop);
			Utils.RegisterFunc(L, Utils.METHOD_IDX, "CreateTruckAttackerMarch", _m_CreateTruckAttackerMarch);
			Utils.RegisterFunc(L, Utils.METHOD_IDX, "CreateTrainAttackerMarch", _m_CreateTrainAttackerMarch);
			Utils.RegisterFunc(L, Utils.METHOD_IDX, "CreateTrainDefenceMarch", _m_CreateTrainDefenceMarch);
			Utils.RegisterFunc(L, Utils.METHOD_IDX, "UpdateTroopMarchInfo", _m_UpdateTroopMarchInfo);
			Utils.RegisterFunc(L, Utils.METHOD_IDX, "CalculateAttackPosition", _m_CalculateAttackPosition);
			Utils.RegisterFunc(L, Utils.METHOD_IDX, "UpdateAssemblyMarchInfo", _m_UpdateAssemblyMarchInfo);
			Utils.RegisterFunc(L, Utils.METHOD_IDX, "UpdateAllianceInfo", _m_UpdateAllianceInfo);
			Utils.RegisterFunc(L, Utils.METHOD_IDX, "UpdateTroopTeamInfo", _m_UpdateTroopTeamInfo);
			Utils.RegisterFunc(L, Utils.METHOD_IDX, "InInAllianceBuilding", _m_InInAllianceBuilding);
			Utils.RegisterFunc(L, Utils.METHOD_IDX, "UpdateMonsterInfo", _m_UpdateMonsterInfo);
			Utils.RegisterFunc(L, Utils.METHOD_IDX, "UpdateMapCommonBattleObj", _m_UpdateMapCommonBattleObj);
			Utils.RegisterFunc(L, Utils.METHOD_IDX, "removeMapCommonBattleObj", _m_removeMapCommonBattleObj);
			Utils.RegisterFunc(L, Utils.METHOD_IDX, "UpdateCheckPointAnnexBuilding", _m_UpdateCheckPointAnnexBuilding);
			Utils.RegisterFunc(L, Utils.METHOD_IDX, "RemoveCheckPointAnnexBuilding", _m_RemoveCheckPointAnnexBuilding);
			Utils.RegisterFunc(L, Utils.METHOD_IDX, "UpdateCheckPointFakeTroopMatch", _m_UpdateCheckPointFakeTroopMatch);
			Utils.RegisterFunc(L, Utils.METHOD_IDX, "RemoveFakeChildren", _m_RemoveFakeChildren);
			Utils.RegisterFunc(L, Utils.METHOD_IDX, "RemoveFakeParent", _m_RemoveFakeParent);
			Utils.RegisterFunc(L, Utils.METHOD_IDX, "UpdateFakeTroopMarch", _m_UpdateFakeTroopMarch);
			Utils.RegisterFunc(L, Utils.METHOD_IDX, "AddToChaseList", _m_AddToChaseList);
			Utils.RegisterFunc(L, Utils.METHOD_IDX, "StopAllBattleAudio", _m_StopAllBattleAudio);
			Utils.RegisterFunc(L, Utils.METHOD_IDX, "CheckStopSelfBattle", _m_CheckStopSelfBattle);
			Utils.RegisterFunc(L, Utils.METHOD_IDX, "SetArenaMarchContext", _m_SetArenaMarchContext);
			Utils.RegisterFunc(L, Utils.METHOD_IDX, "UnsetArenaMarchContext", _m_UnsetArenaMarchContext);
			Utils.RegisterFunc(L, Utils.METHOD_IDX, "SelectBattleTroop", _m_SelectBattleTroop);
			Utils.RegisterFunc(L, Utils.METHOD_IDX, "SelectBattleTroops", _m_SelectBattleTroops);
			Utils.RegisterFunc(L, Utils.METHOD_IDX, "MoveSelectMarchToNormalCanvas", _m_MoveSelectMarchToNormalCanvas);
			Utils.RegisterFunc(L, Utils.METHOD_IDX, "DragTroopToTargetShowHud", _m_DragTroopToTargetShowHud);
			Utils.RegisterFunc(L, Utils.METHOD_IDX, "SetTroopHudAlpha", _m_SetTroopHudAlpha);
			Utils.RegisterFunc(L, Utils.METHOD_IDX, "ShowAllSquareCircle", _m_ShowAllSquareCircle);
			Utils.RegisterFunc(L, Utils.METHOD_IDX, "IsSelfAttack", _m_IsSelfAttack);
			Utils.RegisterFunc(L, Utils.METHOD_IDX, "ChangedArenaMarchPos", _m_ChangedArenaMarchPos);
			Utils.RegisterFunc(L, Utils.METHOD_IDX, "CreateEsCapeEffect", _m_CreateEsCapeEffect);
			Utils.RegisterFunc(L, Utils.METHOD_IDX, "UpdateCargoTruckHudStateDescText", _m_UpdateCargoTruckHudStateDescText);
			Utils.RegisterFunc(L, Utils.METHOD_IDX, "UpdateSmugglerHudIcon", _m_UpdateSmugglerHudIcon);
			Utils.RegisterFunc(L, Utils.METHOD_IDX, "UpdateSmugglerWorldPosTip", _m_UpdateSmugglerWorldPosTip);
			Utils.RegisterFunc(L, Utils.METHOD_IDX, "UpdateCargoTruckHudTroopCount", _m_UpdateCargoTruckHudTroopCount);
			Utils.RegisterFunc(L, Utils.METHOD_IDX, "SetAlliancePracticeBossNameText", _m_SetAlliancePracticeBossNameText);
			Utils.RegisterFunc(L, Utils.METHOD_IDX, "SetAlliancePracticeBossTimeText", _m_SetAlliancePracticeBossTimeText);
			Utils.RegisterFunc(L, Utils.METHOD_IDX, "SetAlliancePracticeBossCDStateRootActive", _m_SetAlliancePracticeBossCDStateRootActive);
			Utils.RegisterFunc(L, Utils.METHOD_IDX, "SetAlliancePracticeBossMvpText", _m_SetAlliancePracticeBossMvpText);
			Utils.RegisterFunc(L, Utils.METHOD_IDX, "SetAlliancePracticeBossRewardStageText", _m_SetAlliancePracticeBossRewardStageText);
			Utils.RegisterFunc(L, Utils.METHOD_IDX, "SetAlliancePracticeBossRewardProgressBar", _m_SetAlliancePracticeBossRewardProgressBar);
			Utils.RegisterFunc(L, Utils.METHOD_IDX, "setUsererServerId", _m_setUsererServerId);
			Utils.RegisterFunc(L, Utils.METHOD_IDX, "SetSandBoxServerId", _m_SetSandBoxServerId);
			Utils.RegisterFunc(L, Utils.METHOD_IDX, "GetSandBoxServerId", _m_GetSandBoxServerId);
			
			
			Utils.RegisterFunc(L, Utils.GETTER_IDX, "Count", _g_get_Count);
            Utils.RegisterFunc(L, Utils.GETTER_IDX, "Marches", _g_get_Marches);
            Utils.RegisterFunc(L, Utils.GETTER_IDX, "ParseSiegeFightInfo", _g_get_ParseSiegeFightInfo);
            Utils.RegisterFunc(L, Utils.GETTER_IDX, "DispatchSkillEvent", _g_get_DispatchSkillEvent);
            Utils.RegisterFunc(L, Utils.GETTER_IDX, "FocusTroopAction", _g_get_FocusTroopAction);
            Utils.RegisterFunc(L, Utils.GETTER_IDX, "drawLodInfo", _g_get_drawLodInfo);
            Utils.RegisterFunc(L, Utils.GETTER_IDX, "marchContext", _g_get_marchContext);
            Utils.RegisterFunc(L, Utils.GETTER_IDX, "audioController", _g_get_audioController);
            Utils.RegisterFunc(L, Utils.GETTER_IDX, "moveAudioCount", _g_get_moveAudioCount);
            Utils.RegisterFunc(L, Utils.GETTER_IDX, "IsInArena", _g_get_IsInArena);
            Utils.RegisterFunc(L, Utils.GETTER_IDX, "fakeTroopParents", _g_get_fakeTroopParents);
            Utils.RegisterFunc(L, Utils.GETTER_IDX, "deltaTime", _g_get_deltaTime);
            Utils.RegisterFunc(L, Utils.GETTER_IDX, "clientTime", _g_get_clientTime);
            Utils.RegisterFunc(L, Utils.GETTER_IDX, "cachedTestAction", _g_get_cachedTestAction);
            
			Utils.RegisterFunc(L, Utils.SETTER_IDX, "ParseSiegeFightInfo", _s_set_ParseSiegeFightInfo);
            Utils.RegisterFunc(L, Utils.SETTER_IDX, "DispatchSkillEvent", _s_set_DispatchSkillEvent);
            Utils.RegisterFunc(L, Utils.SETTER_IDX, "FocusTroopAction", _s_set_FocusTroopAction);
            Utils.RegisterFunc(L, Utils.SETTER_IDX, "drawLodInfo", _s_set_drawLodInfo);
            Utils.RegisterFunc(L, Utils.SETTER_IDX, "marchContext", _s_set_marchContext);
            Utils.RegisterFunc(L, Utils.SETTER_IDX, "audioController", _s_set_audioController);
            Utils.RegisterFunc(L, Utils.SETTER_IDX, "moveAudioCount", _s_set_moveAudioCount);
            Utils.RegisterFunc(L, Utils.SETTER_IDX, "IsInArena", _s_set_IsInArena);
            Utils.RegisterFunc(L, Utils.SETTER_IDX, "fakeTroopParents", _s_set_fakeTroopParents);
            Utils.RegisterFunc(L, Utils.SETTER_IDX, "deltaTime", _s_set_deltaTime);
            Utils.RegisterFunc(L, Utils.SETTER_IDX, "clientTime", _s_set_clientTime);
            Utils.RegisterFunc(L, Utils.SETTER_IDX, "cachedTestAction", _s_set_cachedTestAction);
            
			
			Utils.EndObjectRegister(type, L, translator, null, null,
			    null, null, null);

		    Utils.BeginClassRegister(type, L, __CreateInstance, 5, 4, 4);
			Utils.RegisterFunc(L, Utils.CLS_IDX, "OnRoundFightInCity", _m_OnRoundFightInCity_xlua_st_);
            
			
            Utils.RegisterObject(L, translator, Utils.CLS_IDX, "MaxTroop", Yoozoo.Gameplay.RTS.MarchManager.MaxTroop);
            Utils.RegisterObject(L, translator, Utils.CLS_IDX, "MarchEntityPoolNum", Yoozoo.Gameplay.RTS.MarchManager.MarchEntityPoolNum);
            Utils.RegisterObject(L, translator, Utils.CLS_IDX, "MonsterEntityPoolNum", Yoozoo.Gameplay.RTS.MarchManager.MonsterEntityPoolNum);
            
			Utils.RegisterFunc(L, Utils.CLS_GETTER_IDX, "CurrentMarchNum", _g_get_CurrentMarchNum);
            Utils.RegisterFunc(L, Utils.CLS_GETTER_IDX, "UpdateSoldierCallBack", _g_get_UpdateSoldierCallBack);
            Utils.RegisterFunc(L, Utils.CLS_GETTER_IDX, "Instance", _g_get_Instance);
            Utils.RegisterFunc(L, Utils.CLS_GETTER_IDX, "moveAudioCountLimit", _g_get_moveAudioCountLimit);
            
			Utils.RegisterFunc(L, Utils.CLS_SETTER_IDX, "CurrentMarchNum", _s_set_CurrentMarchNum);
            Utils.RegisterFunc(L, Utils.CLS_SETTER_IDX, "UpdateSoldierCallBack", _s_set_UpdateSoldierCallBack);
            Utils.RegisterFunc(L, Utils.CLS_SETTER_IDX, "Instance", _s_set_Instance);
            Utils.RegisterFunc(L, Utils.CLS_SETTER_IDX, "moveAudioCountLimit", _s_set_moveAudioCountLimit);
            
			
            Utils.RegisterFunc(L, Utils.CLS_IDX, "New", __CreateInstanceNew);
			Utils.EndClassRegister(type, L, translator);
        }
        
        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
        static int __CreateInstance(RealStatePtr L)
        {
            return LuaAPI.luaL_error(L, "Yoozoo.Gameplay.RTS.MarchManager does not have a constructor!");
        }

        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
        static int __CreateInstanceNew(RealStatePtr L)
        {
            return LuaAPI.luaL_error(L, "Yoozoo.Gameplay.RTS.MarchManager does not have a constructor!");
        }

        
		
        
		
        
        
        
        
        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
        static int _m_OnWorldCameraReady(RealStatePtr L)
        {
		    try {
            
                ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
            
            
                Yoozoo.Gameplay.RTS.MarchManager gen_to_be_invoked = (Yoozoo.Gameplay.RTS.MarchManager)translator.FastGetCSObj(L, 1);
            
            
                
                {
                    
                    gen_to_be_invoked.OnWorldCameraReady(  );
                    
                    
                    
                    return 0;
                }
                
            } catch(System.Exception gen_e) {
                return LuaAPI.luaL_error(L, $"c# exception: {gen_e}\n{Yoozoo.Framework.Managers.LuaManager.GetTraceBack()}");
            }
            
        }
        
        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
        static int _m_OnRoundFightOver(RealStatePtr L)
        {
		    try {
            
                ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
            
            
                Yoozoo.Gameplay.RTS.MarchManager gen_to_be_invoked = (Yoozoo.Gameplay.RTS.MarchManager)translator.FastGetCSObj(L, 1);
            
            
                
                {
                    
                    gen_to_be_invoked.OnRoundFightOver(  );
                    
                    
                    
                    return 0;
                }
                
            } catch(System.Exception gen_e) {
                return LuaAPI.luaL_error(L, $"c# exception: {gen_e}\n{Yoozoo.Framework.Managers.LuaManager.GetTraceBack()}");
            }
            
        }
        
        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
        static int _m_RegisterNonResourceReliableTasks(RealStatePtr L)
        {
		    try {
            
                ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
            
            
                Yoozoo.Gameplay.RTS.MarchManager gen_to_be_invoked = (Yoozoo.Gameplay.RTS.MarchManager)translator.FastGetCSObj(L, 1);
            
            
                
                {
                    
                    gen_to_be_invoked.RegisterNonResourceReliableTasks(  );
                    
                    
                    
                    return 0;
                }
                
            } catch(System.Exception gen_e) {
                return LuaAPI.luaL_error(L, $"c# exception: {gen_e}\n{Yoozoo.Framework.Managers.LuaManager.GetTraceBack()}");
            }
            
        }
        
        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
        static int _m_ResetFormation(RealStatePtr L)
        {
		    try {
            
                ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
            
            
                Yoozoo.Gameplay.RTS.MarchManager gen_to_be_invoked = (Yoozoo.Gameplay.RTS.MarchManager)translator.FastGetCSObj(L, 1);
            
            
                
                {
                    
                    gen_to_be_invoked.ResetFormation(  );
                    
                    
                    
                    return 0;
                }
                
            } catch(System.Exception gen_e) {
                return LuaAPI.luaL_error(L, $"c# exception: {gen_e}\n{Yoozoo.Framework.Managers.LuaManager.GetTraceBack()}");
            }
            
        }
        
        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
        static int _m_GetSegment(RealStatePtr L)
        {
		    try {
            
                ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
            
            
                Yoozoo.Gameplay.RTS.MarchManager gen_to_be_invoked = (Yoozoo.Gameplay.RTS.MarchManager)translator.FastGetCSObj(L, 1);
            
            
                
                {
                    int _index = LuaAPI.xlua_tointeger(L, 2);
                    
                        var gen_ret = gen_to_be_invoked.GetSegment( _index );
                        translator.Push(L, gen_ret);
                    
                    
                    
                    return 1;
                }
                
            } catch(System.Exception gen_e) {
                return LuaAPI.luaL_error(L, $"c# exception: {gen_e}\n{Yoozoo.Framework.Managers.LuaManager.GetTraceBack()}");
            }
            
        }
        
        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
        static int _m_UpdateAllianceId(RealStatePtr L)
        {
		    try {
            
                ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
            
            
                Yoozoo.Gameplay.RTS.MarchManager gen_to_be_invoked = (Yoozoo.Gameplay.RTS.MarchManager)translator.FastGetCSObj(L, 1);
            
            
                
                {
                    string _allianceCode = LuaAPI.lua_tostring(L, 2);
                    
                    gen_to_be_invoked.UpdateAllianceId( _allianceCode );
                    
                    
                    
                    return 0;
                }
                
            } catch(System.Exception gen_e) {
                return LuaAPI.luaL_error(L, $"c# exception: {gen_e}\n{Yoozoo.Framework.Managers.LuaManager.GetTraceBack()}");
            }
            
        }
        
        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
        static int _m_UpdateTroopTargetPosition(RealStatePtr L)
        {
		    try {
            
                ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
            
            
                Yoozoo.Gameplay.RTS.MarchManager gen_to_be_invoked = (Yoozoo.Gameplay.RTS.MarchManager)translator.FastGetCSObj(L, 1);
            
            
                
                {
                    float _x = (float)LuaAPI.lua_tonumber(L, 2);
                    float _z = (float)LuaAPI.lua_tonumber(L, 3);
                    long _troopId = LuaAPI.lua_toint64(L, 4);
                    int _type = LuaAPI.xlua_tointeger(L, 5);
                    
                    gen_to_be_invoked.UpdateTroopTargetPosition( _x, _z, _troopId, _type );
                    
                    
                    
                    return 0;
                }
                
            } catch(System.Exception gen_e) {
                return LuaAPI.luaL_error(L, $"c# exception: {gen_e}\n{Yoozoo.Framework.Managers.LuaManager.GetTraceBack()}");
            }
            
        }
        
        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
        static int _m_CreateMarch(RealStatePtr L)
        {
		    try {
            
                ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
            
            
                Yoozoo.Gameplay.RTS.MarchManager gen_to_be_invoked = (Yoozoo.Gameplay.RTS.MarchManager)translator.FastGetCSObj(L, 1);
            
            
                
                {
                    long _troopId = LuaAPI.lua_toint64(L, 2);
                    int _team = LuaAPI.xlua_tointeger(L, 3);
                    Yoozoo.Gameplay.RTS.EClientMarchType _eClientMarchType;translator.Get(L, 4, out _eClientMarchType);
                    int _targetCoordinateType = LuaAPI.xlua_tointeger(L, 5);
                    
                        var gen_ret = gen_to_be_invoked.CreateMarch( _troopId, _team, _eClientMarchType, _targetCoordinateType );
                        translator.Push(L, gen_ret);
                    
                    
                    
                    return 1;
                }
                
            } catch(System.Exception gen_e) {
                return LuaAPI.luaL_error(L, $"c# exception: {gen_e}\n{Yoozoo.Framework.Managers.LuaManager.GetTraceBack()}");
            }
            
        }
        
        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
        static int _m_CreateMonsterMarch(RealStatePtr L)
        {
		    try {
            
                ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
            
            
                Yoozoo.Gameplay.RTS.MarchManager gen_to_be_invoked = (Yoozoo.Gameplay.RTS.MarchManager)translator.FastGetCSObj(L, 1);
            
            
                
                {
                    long _troopId = LuaAPI.lua_toint64(L, 2);
                    int _team = LuaAPI.xlua_tointeger(L, 3);
                    int _monsterType = LuaAPI.xlua_tointeger(L, 4);
                    
                        var gen_ret = gen_to_be_invoked.CreateMonsterMarch( _troopId, _team, _monsterType );
                        translator.Push(L, gen_ret);
                    
                    
                    
                    return 1;
                }
                
            } catch(System.Exception gen_e) {
                return LuaAPI.luaL_error(L, $"c# exception: {gen_e}\n{Yoozoo.Framework.Managers.LuaManager.GetTraceBack()}");
            }
            
        }
        
        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
        static int _m_SetMarchAndMonsterRoot(RealStatePtr L)
        {
		    try {
            
                ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
            
            
                Yoozoo.Gameplay.RTS.MarchManager gen_to_be_invoked = (Yoozoo.Gameplay.RTS.MarchManager)translator.FastGetCSObj(L, 1);
            
            
                
                {
                    UnityEngine.Transform _marchRoot = (UnityEngine.Transform)translator.GetObject(L, 2, typeof(UnityEngine.Transform));
                    UnityEngine.Transform _monsterRoot = (UnityEngine.Transform)translator.GetObject(L, 3, typeof(UnityEngine.Transform));
                    UnityEngine.Transform _SimpleRootTransform = (UnityEngine.Transform)translator.GetObject(L, 4, typeof(UnityEngine.Transform));
                    
                    gen_to_be_invoked.SetMarchAndMonsterRoot( _marchRoot, _monsterRoot, _SimpleRootTransform );
                    
                    
                    
                    return 0;
                }
                
            } catch(System.Exception gen_e) {
                return LuaAPI.luaL_error(L, $"c# exception: {gen_e}\n{Yoozoo.Framework.Managers.LuaManager.GetTraceBack()}");
            }
            
        }
        
        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
        static int _m_GetRoot(RealStatePtr L)
        {
		    try {
            
                ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
            
            
                Yoozoo.Gameplay.RTS.MarchManager gen_to_be_invoked = (Yoozoo.Gameplay.RTS.MarchManager)translator.FastGetCSObj(L, 1);
            
            
                
                {
                    
                        var gen_ret = gen_to_be_invoked.GetRoot(  );
                        translator.Push(L, gen_ret);
                    
                    
                    
                    return 1;
                }
                
            } catch(System.Exception gen_e) {
                return LuaAPI.luaL_error(L, $"c# exception: {gen_e}\n{Yoozoo.Framework.Managers.LuaManager.GetTraceBack()}");
            }
            
        }
        
        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
        static int _m_GetAllMarchEntities(RealStatePtr L)
        {
		    try {
            
                ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
            
            
                Yoozoo.Gameplay.RTS.MarchManager gen_to_be_invoked = (Yoozoo.Gameplay.RTS.MarchManager)translator.FastGetCSObj(L, 1);
            
            
                
                {
                    
                        var gen_ret = gen_to_be_invoked.GetAllMarchEntities(  );
                        translator.Push(L, gen_ret);
                    
                    
                    
                    return 1;
                }
                
            } catch(System.Exception gen_e) {
                return LuaAPI.luaL_error(L, $"c# exception: {gen_e}\n{Yoozoo.Framework.Managers.LuaManager.GetTraceBack()}");
            }
            
        }
        
        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
        static int _m_GetMarchEntityByIdAndType(RealStatePtr L)
        {
		    try {
            
                ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
            
            
                Yoozoo.Gameplay.RTS.MarchManager gen_to_be_invoked = (Yoozoo.Gameplay.RTS.MarchManager)translator.FastGetCSObj(L, 1);
            
            
			    int gen_param_count = LuaAPI.lua_gettop(L);
            
                if(gen_param_count == 3&& (LuaTypes.LUA_TNUMBER == LuaAPI.lua_type(L, 2) || LuaAPI.lua_isint64(L, 2))&& translator.Assignable<com.youzu.warh.protocol.TargetCoordinateType>(L, 3)) 
                {
                    long _troopId = LuaAPI.lua_toint64(L, 2);
                    com.youzu.warh.protocol.TargetCoordinateType _type;translator.Get(L, 3, out _type);
                    
                        var gen_ret = gen_to_be_invoked.GetMarchEntityByIdAndType( _troopId, _type );
                        translator.Push(L, gen_ret);
                    
                    
                    
                    return 1;
                }
                if(gen_param_count == 3&& (LuaTypes.LUA_TNUMBER == LuaAPI.lua_type(L, 2) || LuaAPI.lua_isint64(L, 2))&& translator.Assignable<Yoozoo.Gameplay.RTS.Proto.TargetCoordinateType>(L, 3)) 
                {
                    long _troopId = LuaAPI.lua_toint64(L, 2);
                    Yoozoo.Gameplay.RTS.Proto.TargetCoordinateType _type;translator.Get(L, 3, out _type);
                    
                        var gen_ret = gen_to_be_invoked.GetMarchEntityByIdAndType( _troopId, _type );
                        translator.Push(L, gen_ret);
                    
                    
                    
                    return 1;
                }
                
            } catch(System.Exception gen_e) {
                return LuaAPI.luaL_error(L, $"c# exception: {gen_e}\n{Yoozoo.Framework.Managers.LuaManager.GetTraceBack()}");
            }
            
            return LuaAPI.luaL_error(L, "invalid arguments to Yoozoo.Gameplay.RTS.MarchManager.GetMarchEntityByIdAndType!");
            
        }
        
        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
        static int _m_DelayDestroyMarch(RealStatePtr L)
        {
		    try {
            
                ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
            
            
                Yoozoo.Gameplay.RTS.MarchManager gen_to_be_invoked = (Yoozoo.Gameplay.RTS.MarchManager)translator.FastGetCSObj(L, 1);
            
            
                
                {
                    long _troopKey = LuaAPI.lua_toint64(L, 2);
                    int _type = LuaAPI.xlua_tointeger(L, 3);
                    
                    gen_to_be_invoked.DelayDestroyMarch( _troopKey, _type );
                    
                    
                    
                    return 0;
                }
                
            } catch(System.Exception gen_e) {
                return LuaAPI.luaL_error(L, $"c# exception: {gen_e}\n{Yoozoo.Framework.Managers.LuaManager.GetTraceBack()}");
            }
            
        }
        
        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
        static int _m_DestroyMarch(RealStatePtr L)
        {
		    try {
            
                ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
            
            
                Yoozoo.Gameplay.RTS.MarchManager gen_to_be_invoked = (Yoozoo.Gameplay.RTS.MarchManager)translator.FastGetCSObj(L, 1);
            
            
			    int gen_param_count = LuaAPI.lua_gettop(L);
            
                if(gen_param_count == 4&& (LuaTypes.LUA_TNUMBER == LuaAPI.lua_type(L, 2) || LuaAPI.lua_isint64(L, 2))&& LuaTypes.LUA_TNUMBER == LuaAPI.lua_type(L, 3)&& LuaTypes.LUA_TBOOLEAN == LuaAPI.lua_type(L, 4)) 
                {
                    long _troopKey = LuaAPI.lua_toint64(L, 2);
                    int _type = LuaAPI.xlua_tointeger(L, 3);
                    bool _immediately = LuaAPI.lua_toboolean(L, 4);
                    
                    gen_to_be_invoked.DestroyMarch( _troopKey, _type, _immediately );
                    
                    
                    
                    return 0;
                }
                if(gen_param_count == 3&& (LuaTypes.LUA_TNUMBER == LuaAPI.lua_type(L, 2) || LuaAPI.lua_isint64(L, 2))&& LuaTypes.LUA_TNUMBER == LuaAPI.lua_type(L, 3)) 
                {
                    long _troopKey = LuaAPI.lua_toint64(L, 2);
                    int _type = LuaAPI.xlua_tointeger(L, 3);
                    
                    gen_to_be_invoked.DestroyMarch( _troopKey, _type );
                    
                    
                    
                    return 0;
                }
                
            } catch(System.Exception gen_e) {
                return LuaAPI.luaL_error(L, $"c# exception: {gen_e}\n{Yoozoo.Framework.Managers.LuaManager.GetTraceBack()}");
            }
            
            return LuaAPI.luaL_error(L, "invalid arguments to Yoozoo.Gameplay.RTS.MarchManager.DestroyMarch!");
            
        }
        
        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
        static int _m_DoArenaRoundFight(RealStatePtr L)
        {
		    try {
            
                ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
            
            
                Yoozoo.Gameplay.RTS.MarchManager gen_to_be_invoked = (Yoozoo.Gameplay.RTS.MarchManager)translator.FastGetCSObj(L, 1);
            
            
                
                {
                    com.youzu.warh.protocol.SCRoundFight _roundFight = (com.youzu.warh.protocol.SCRoundFight)translator.GetObject(L, 2, typeof(com.youzu.warh.protocol.SCRoundFight));
                    
                    gen_to_be_invoked.DoArenaRoundFight( _roundFight );
                    
                    
                    
                    return 0;
                }
                
            } catch(System.Exception gen_e) {
                return LuaAPI.luaL_error(L, $"c# exception: {gen_e}\n{Yoozoo.Framework.Managers.LuaManager.GetTraceBack()}");
            }
            
        }
        
        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
        static int _m_OnRoundFightInCity_xlua_st_(RealStatePtr L)
        {
		    try {
            
                ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
            
            
            
                
                {
                    com.youzu.warh.protocol.SCRoundFight _roundFight = (com.youzu.warh.protocol.SCRoundFight)translator.GetObject(L, 1, typeof(com.youzu.warh.protocol.SCRoundFight));
                    
                    Yoozoo.Gameplay.RTS.MarchManager.OnRoundFightInCity( _roundFight );
                    
                    
                    
                    return 0;
                }
                
            } catch(System.Exception gen_e) {
                return LuaAPI.luaL_error(L, $"c# exception: {gen_e}\n{Yoozoo.Framework.Managers.LuaManager.GetTraceBack()}");
            }
            
        }
        
        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
        static int _m_OnLeaveSandBox(RealStatePtr L)
        {
		    try {
            
                ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
            
            
                Yoozoo.Gameplay.RTS.MarchManager gen_to_be_invoked = (Yoozoo.Gameplay.RTS.MarchManager)translator.FastGetCSObj(L, 1);
            
            
                
                {
                    
                    gen_to_be_invoked.OnLeaveSandBox(  );
                    
                    
                    
                    return 0;
                }
                
            } catch(System.Exception gen_e) {
                return LuaAPI.luaL_error(L, $"c# exception: {gen_e}\n{Yoozoo.Framework.Managers.LuaManager.GetTraceBack()}");
            }
            
        }
        
        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
        static int _m_StopAllMusic(RealStatePtr L)
        {
		    try {
            
                ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
            
            
                Yoozoo.Gameplay.RTS.MarchManager gen_to_be_invoked = (Yoozoo.Gameplay.RTS.MarchManager)translator.FastGetCSObj(L, 1);
            
            
                
                {
                    
                    gen_to_be_invoked.StopAllMusic(  );
                    
                    
                    
                    return 0;
                }
                
            } catch(System.Exception gen_e) {
                return LuaAPI.luaL_error(L, $"c# exception: {gen_e}\n{Yoozoo.Framework.Managers.LuaManager.GetTraceBack()}");
            }
            
        }
        
        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
        static int _m_OnEnterSandBox(RealStatePtr L)
        {
		    try {
            
                ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
            
            
                Yoozoo.Gameplay.RTS.MarchManager gen_to_be_invoked = (Yoozoo.Gameplay.RTS.MarchManager)translator.FastGetCSObj(L, 1);
            
            
                
                {
                    
                    gen_to_be_invoked.OnEnterSandBox(  );
                    
                    
                    
                    return 0;
                }
                
            } catch(System.Exception gen_e) {
                return LuaAPI.luaL_error(L, $"c# exception: {gen_e}\n{Yoozoo.Framework.Managers.LuaManager.GetTraceBack()}");
            }
            
        }
        
        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
        static int _m_UpdateArenaKeyFrame(RealStatePtr L)
        {
		    try {
            
                ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
            
            
                Yoozoo.Gameplay.RTS.MarchManager gen_to_be_invoked = (Yoozoo.Gameplay.RTS.MarchManager)translator.FastGetCSObj(L, 1);
            
            
                
                {
                    com.youzu.warh.protocol.TroopMarchKeyFrame _keyFrame = (com.youzu.warh.protocol.TroopMarchKeyFrame)translator.GetObject(L, 2, typeof(com.youzu.warh.protocol.TroopMarchKeyFrame));
                    long _startTime = LuaAPI.lua_toint64(L, 3);
                    
                    gen_to_be_invoked.UpdateArenaKeyFrame( _keyFrame, _startTime );
                    
                    
                    
                    return 0;
                }
                
            } catch(System.Exception gen_e) {
                return LuaAPI.luaL_error(L, $"c# exception: {gen_e}\n{Yoozoo.Framework.Managers.LuaManager.GetTraceBack()}");
            }
            
        }
        
        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
        static int _m_UpdateArenaBattleTroop(RealStatePtr L)
        {
		    try {
            
                ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
            
            
                Yoozoo.Gameplay.RTS.MarchManager gen_to_be_invoked = (Yoozoo.Gameplay.RTS.MarchManager)translator.FastGetCSObj(L, 1);
            
            
			    int gen_param_count = LuaAPI.lua_gettop(L);
            
                if(gen_param_count == 5&& translator.Assignable<Yoozoo.Gameplay.RTS.Proto.RtsArenaTroop>(L, 2)&& LuaTypes.LUA_TNUMBER == LuaAPI.lua_type(L, 3)&& translator.Assignable<LuaArrAccess>(L, 4)&& LuaTypes.LUA_TBOOLEAN == LuaAPI.lua_type(L, 5)) 
                {
                    Yoozoo.Gameplay.RTS.Proto.RtsArenaTroop _troopData;translator.Get(L, 2, out _troopData);
                    int _team = LuaAPI.xlua_tointeger(L, 3);
                    LuaArrAccess _access = (LuaArrAccess)translator.GetObject(L, 4, typeof(LuaArrAccess));
                    bool _isFromDeck = LuaAPI.lua_toboolean(L, 5);
                    
                    gen_to_be_invoked.UpdateArenaBattleTroop( _troopData, _team, _access, _isFromDeck );
                    
                    
                    
                    return 0;
                }
                if(gen_param_count == 4&& translator.Assignable<Yoozoo.Gameplay.RTS.Proto.RtsArenaTroop>(L, 2)&& LuaTypes.LUA_TNUMBER == LuaAPI.lua_type(L, 3)&& translator.Assignable<LuaArrAccess>(L, 4)) 
                {
                    Yoozoo.Gameplay.RTS.Proto.RtsArenaTroop _troopData;translator.Get(L, 2, out _troopData);
                    int _team = LuaAPI.xlua_tointeger(L, 3);
                    LuaArrAccess _access = (LuaArrAccess)translator.GetObject(L, 4, typeof(LuaArrAccess));
                    
                    gen_to_be_invoked.UpdateArenaBattleTroop( _troopData, _team, _access );
                    
                    
                    
                    return 0;
                }
                
            } catch(System.Exception gen_e) {
                return LuaAPI.luaL_error(L, $"c# exception: {gen_e}\n{Yoozoo.Framework.Managers.LuaManager.GetTraceBack()}");
            }
            
            return LuaAPI.luaL_error(L, "invalid arguments to Yoozoo.Gameplay.RTS.MarchManager.UpdateArenaBattleTroop!");
            
        }
        
        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
        static int _m_CreateTruckAttackerMarch(RealStatePtr L)
        {
		    try {
            
                ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
            
            
                Yoozoo.Gameplay.RTS.MarchManager gen_to_be_invoked = (Yoozoo.Gameplay.RTS.MarchManager)translator.FastGetCSObj(L, 1);
            
            
                
                {
                    Yoozoo.Gameplay.RTS.Proto.TroopMarch _troopMarch;translator.Get(L, 2, out _troopMarch);
                    Yoozoo.Gameplay.RTS.Proto.TroopMarch _defenderTroopMarch;translator.Get(L, 3, out _defenderTroopMarch);
                    bool _isAttackerWin = LuaAPI.lua_toboolean(L, 4);
                    
                    gen_to_be_invoked.CreateTruckAttackerMarch( _troopMarch, _defenderTroopMarch, _isAttackerWin );
                    
                    
                    
                    return 0;
                }
                
            } catch(System.Exception gen_e) {
                return LuaAPI.luaL_error(L, $"c# exception: {gen_e}\n{Yoozoo.Framework.Managers.LuaManager.GetTraceBack()}");
            }
            
        }
        
        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
        static int _m_CreateTrainAttackerMarch(RealStatePtr L)
        {
		    try {
            
                ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
            
            
                Yoozoo.Gameplay.RTS.MarchManager gen_to_be_invoked = (Yoozoo.Gameplay.RTS.MarchManager)translator.FastGetCSObj(L, 1);
            
            
                
                {
                    Yoozoo.Gameplay.RTS.Proto.TroopMarch _troopMarch;translator.Get(L, 2, out _troopMarch);
                    Yoozoo.Gameplay.RTS.Proto.TroopMarch _defenderTroopMarch;translator.Get(L, 3, out _defenderTroopMarch);
                    bool _isAttackerWin = LuaAPI.lua_toboolean(L, 4);
                    int _battleIdx = LuaAPI.xlua_tointeger(L, 5);
                    bool _isWin = LuaAPI.lua_toboolean(L, 6);
                    string _battleRes = LuaAPI.lua_tostring(L, 7);
                    
                    gen_to_be_invoked.CreateTrainAttackerMarch( _troopMarch, _defenderTroopMarch, _isAttackerWin, _battleIdx, _isWin, _battleRes );
                    
                    
                    
                    return 0;
                }
                
            } catch(System.Exception gen_e) {
                return LuaAPI.luaL_error(L, $"c# exception: {gen_e}\n{Yoozoo.Framework.Managers.LuaManager.GetTraceBack()}");
            }
            
        }
        
        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
        static int _m_CreateTrainDefenceMarch(RealStatePtr L)
        {
		    try {
            
                ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
            
            
                Yoozoo.Gameplay.RTS.MarchManager gen_to_be_invoked = (Yoozoo.Gameplay.RTS.MarchManager)translator.FastGetCSObj(L, 1);
            
            
                
                {
                    Yoozoo.Gameplay.RTS.Proto.TroopMarch _troopMarch;translator.Get(L, 2, out _troopMarch);
                    Yoozoo.Gameplay.RTS.Proto.TroopMarch _defenderTroopMarch;translator.Get(L, 3, out _defenderTroopMarch);
                    int _battleIdx = LuaAPI.xlua_tointeger(L, 4);
                    
                        var gen_ret = gen_to_be_invoked.CreateTrainDefenceMarch( _troopMarch, _defenderTroopMarch, _battleIdx );
                        translator.Push(L, gen_ret);
                    
                    
                    
                    return 1;
                }
                
            } catch(System.Exception gen_e) {
                return LuaAPI.luaL_error(L, $"c# exception: {gen_e}\n{Yoozoo.Framework.Managers.LuaManager.GetTraceBack()}");
            }
            
        }
        
        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
        static int _m_UpdateTroopMarchInfo(RealStatePtr L)
        {
		    try {
            
                ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
            
            
                Yoozoo.Gameplay.RTS.MarchManager gen_to_be_invoked = (Yoozoo.Gameplay.RTS.MarchManager)translator.FastGetCSObj(L, 1);
            
            
			    int gen_param_count = LuaAPI.lua_gettop(L);
            
                if(gen_param_count == 4&& translator.Assignable<Yoozoo.Gameplay.RTS.Proto.TroopMarch>(L, 2)&& translator.Assignable<LuaArrAccess>(L, 3)&& LuaTypes.LUA_TBOOLEAN == LuaAPI.lua_type(L, 4)) 
                {
                    Yoozoo.Gameplay.RTS.Proto.TroopMarch _troopMarch;translator.Get(L, 2, out _troopMarch);
                    LuaArrAccess _arrAccess = (LuaArrAccess)translator.GetObject(L, 3, typeof(LuaArrAccess));
                    bool _isForceRefresh = LuaAPI.lua_toboolean(L, 4);
                    
                    gen_to_be_invoked.UpdateTroopMarchInfo( _troopMarch, _arrAccess, _isForceRefresh );
                    
                    
                    
                    return 0;
                }
                if(gen_param_count == 3&& translator.Assignable<Yoozoo.Gameplay.RTS.Proto.TroopMarch>(L, 2)&& translator.Assignable<LuaArrAccess>(L, 3)) 
                {
                    Yoozoo.Gameplay.RTS.Proto.TroopMarch _troopMarch;translator.Get(L, 2, out _troopMarch);
                    LuaArrAccess _arrAccess = (LuaArrAccess)translator.GetObject(L, 3, typeof(LuaArrAccess));
                    
                    gen_to_be_invoked.UpdateTroopMarchInfo( _troopMarch, _arrAccess );
                    
                    
                    
                    return 0;
                }
                
            } catch(System.Exception gen_e) {
                return LuaAPI.luaL_error(L, $"c# exception: {gen_e}\n{Yoozoo.Framework.Managers.LuaManager.GetTraceBack()}");
            }
            
            return LuaAPI.luaL_error(L, "invalid arguments to Yoozoo.Gameplay.RTS.MarchManager.UpdateTroopMarchInfo!");
            
        }
        
        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
        static int _m_CalculateAttackPosition(RealStatePtr L)
        {
		    try {
            
                ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
            
            
                Yoozoo.Gameplay.RTS.MarchManager gen_to_be_invoked = (Yoozoo.Gameplay.RTS.MarchManager)translator.FastGetCSObj(L, 1);
            
            
                
                {
                    com.yoozoo.gta.Gameplay.RTS.RtsServerInfo _rtsServerInfo = (com.yoozoo.gta.Gameplay.RTS.RtsServerInfo)translator.GetObject(L, 2, typeof(com.yoozoo.gta.Gameplay.RTS.RtsServerInfo));
                    MarchEntity _marchEntity = (MarchEntity)translator.GetObject(L, 3, typeof(MarchEntity));
                    
                        var gen_ret = gen_to_be_invoked.CalculateAttackPosition( _rtsServerInfo, _marchEntity );
                        translator.PushUnityEngineVector3(L, gen_ret);
                    
                    
                    
                    return 1;
                }
                
            } catch(System.Exception gen_e) {
                return LuaAPI.luaL_error(L, $"c# exception: {gen_e}\n{Yoozoo.Framework.Managers.LuaManager.GetTraceBack()}");
            }
            
        }
        
        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
        static int _m_UpdateAssemblyMarchInfo(RealStatePtr L)
        {
		    try {
            
                ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
            
            
                Yoozoo.Gameplay.RTS.MarchManager gen_to_be_invoked = (Yoozoo.Gameplay.RTS.MarchManager)translator.FastGetCSObj(L, 1);
            
            
			    int gen_param_count = LuaAPI.lua_gettop(L);
            
                if(gen_param_count == 4&& translator.Assignable<Yoozoo.Gameplay.RTS.Proto.MapAssembly>(L, 2)&& translator.Assignable<LuaArrAccess>(L, 3)&& LuaTypes.LUA_TBOOLEAN == LuaAPI.lua_type(L, 4)) 
                {
                    Yoozoo.Gameplay.RTS.Proto.MapAssembly _mapAssembly;translator.Get(L, 2, out _mapAssembly);
                    LuaArrAccess _arrAccess = (LuaArrAccess)translator.GetObject(L, 3, typeof(LuaArrAccess));
                    bool _isForceRefresh = LuaAPI.lua_toboolean(L, 4);
                    
                    gen_to_be_invoked.UpdateAssemblyMarchInfo( _mapAssembly, _arrAccess, _isForceRefresh );
                    
                    
                    
                    return 0;
                }
                if(gen_param_count == 3&& translator.Assignable<Yoozoo.Gameplay.RTS.Proto.MapAssembly>(L, 2)&& translator.Assignable<LuaArrAccess>(L, 3)) 
                {
                    Yoozoo.Gameplay.RTS.Proto.MapAssembly _mapAssembly;translator.Get(L, 2, out _mapAssembly);
                    LuaArrAccess _arrAccess = (LuaArrAccess)translator.GetObject(L, 3, typeof(LuaArrAccess));
                    
                    gen_to_be_invoked.UpdateAssemblyMarchInfo( _mapAssembly, _arrAccess );
                    
                    
                    
                    return 0;
                }
                
            } catch(System.Exception gen_e) {
                return LuaAPI.luaL_error(L, $"c# exception: {gen_e}\n{Yoozoo.Framework.Managers.LuaManager.GetTraceBack()}");
            }
            
            return LuaAPI.luaL_error(L, "invalid arguments to Yoozoo.Gameplay.RTS.MarchManager.UpdateAssemblyMarchInfo!");
            
        }
        
        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
        static int _m_UpdateAllianceInfo(RealStatePtr L)
        {
		    try {
            
                ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
            
            
                Yoozoo.Gameplay.RTS.MarchManager gen_to_be_invoked = (Yoozoo.Gameplay.RTS.MarchManager)translator.FastGetCSObj(L, 1);
            
            
                
                {
                    Yoozoo.Gameplay.RTS.Proto.TroopMarch _troopMarch;translator.Get(L, 2, out _troopMarch);
                    
                    gen_to_be_invoked.UpdateAllianceInfo( _troopMarch );
                    
                    
                    
                    return 0;
                }
                
            } catch(System.Exception gen_e) {
                return LuaAPI.luaL_error(L, $"c# exception: {gen_e}\n{Yoozoo.Framework.Managers.LuaManager.GetTraceBack()}");
            }
            
        }
        
        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
        static int _m_UpdateTroopTeamInfo(RealStatePtr L)
        {
		    try {
            
                ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
            
            
                Yoozoo.Gameplay.RTS.MarchManager gen_to_be_invoked = (Yoozoo.Gameplay.RTS.MarchManager)translator.FastGetCSObj(L, 1);
            
            
                
                {
                    long _troopId = LuaAPI.lua_toint64(L, 2);
                    int _type = LuaAPI.xlua_tointeger(L, 3);
                    int _team = LuaAPI.xlua_tointeger(L, 4);
                    
                    gen_to_be_invoked.UpdateTroopTeamInfo( _troopId, _type, _team );
                    
                    
                    
                    return 0;
                }
                
            } catch(System.Exception gen_e) {
                return LuaAPI.luaL_error(L, $"c# exception: {gen_e}\n{Yoozoo.Framework.Managers.LuaManager.GetTraceBack()}");
            }
            
        }
        
        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
        static int _m_InInAllianceBuilding(RealStatePtr L)
        {
		    try {
            
                ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
            
            
                Yoozoo.Gameplay.RTS.MarchManager gen_to_be_invoked = (Yoozoo.Gameplay.RTS.MarchManager)translator.FastGetCSObj(L, 1);
            
            
                
                {
                    Yoozoo.Gameplay.RTS.Proto.MarchType _marchType;translator.Get(L, 2, out _marchType);
                    Yoozoo.Gameplay.RTS.Proto.MarchStatus _marchStatus;translator.Get(L, 3, out _marchStatus);
                    
                        var gen_ret = gen_to_be_invoked.InInAllianceBuilding( _marchType, _marchStatus );
                        LuaAPI.lua_pushboolean(L, gen_ret);
                    
                    
                    
                    return 1;
                }
                
            } catch(System.Exception gen_e) {
                return LuaAPI.luaL_error(L, $"c# exception: {gen_e}\n{Yoozoo.Framework.Managers.LuaManager.GetTraceBack()}");
            }
            
        }
        
        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
        static int _m_UpdateMonsterInfo(RealStatePtr L)
        {
		    try {
            
                ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
            
            
                Yoozoo.Gameplay.RTS.MarchManager gen_to_be_invoked = (Yoozoo.Gameplay.RTS.MarchManager)translator.FastGetCSObj(L, 1);
            
            
			    int gen_param_count = LuaAPI.lua_gettop(L);
            
                if(gen_param_count == 4&& translator.Assignable<Yoozoo.Gameplay.RTS.Proto.RtsMapMonster>(L, 2)&& translator.Assignable<LuaArrAccess>(L, 3)&& LuaTypes.LUA_TBOOLEAN == LuaAPI.lua_type(L, 4)) 
                {
                    Yoozoo.Gameplay.RTS.Proto.RtsMapMonster _monster;translator.Get(L, 2, out _monster);
                    LuaArrAccess _arrAccess = (LuaArrAccess)translator.GetObject(L, 3, typeof(LuaArrAccess));
                    bool _forceUpdatePos = LuaAPI.lua_toboolean(L, 4);
                    
                    gen_to_be_invoked.UpdateMonsterInfo( _monster, _arrAccess, _forceUpdatePos );
                    
                    
                    
                    return 0;
                }
                if(gen_param_count == 3&& translator.Assignable<Yoozoo.Gameplay.RTS.Proto.RtsMapMonster>(L, 2)&& translator.Assignable<LuaArrAccess>(L, 3)) 
                {
                    Yoozoo.Gameplay.RTS.Proto.RtsMapMonster _monster;translator.Get(L, 2, out _monster);
                    LuaArrAccess _arrAccess = (LuaArrAccess)translator.GetObject(L, 3, typeof(LuaArrAccess));
                    
                    gen_to_be_invoked.UpdateMonsterInfo( _monster, _arrAccess );
                    
                    
                    
                    return 0;
                }
                
            } catch(System.Exception gen_e) {
                return LuaAPI.luaL_error(L, $"c# exception: {gen_e}\n{Yoozoo.Framework.Managers.LuaManager.GetTraceBack()}");
            }
            
            return LuaAPI.luaL_error(L, "invalid arguments to Yoozoo.Gameplay.RTS.MarchManager.UpdateMonsterInfo!");
            
        }
        
        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
        static int _m_UpdateMapCommonBattleObj(RealStatePtr L)
        {
		    try {
            
                ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
            
            
                Yoozoo.Gameplay.RTS.MarchManager gen_to_be_invoked = (Yoozoo.Gameplay.RTS.MarchManager)translator.FastGetCSObj(L, 1);
            
            
			    int gen_param_count = LuaAPI.lua_gettop(L);
            
                if(gen_param_count == 5&& translator.Assignable<Yoozoo.Gameplay.RTS.Proto.MapCommonBattleObj>(L, 2)&& LuaTypes.LUA_TNUMBER == LuaAPI.lua_type(L, 3)&& translator.Assignable<LuaArrAccess>(L, 4)&& (LuaTypes.LUA_TNUMBER == LuaAPI.lua_type(L, 5) || LuaAPI.lua_isint64(L, 5))) 
                {
                    Yoozoo.Gameplay.RTS.Proto.MapCommonBattleObj _commonObj;translator.Get(L, 2, out _commonObj);
                    int _type = LuaAPI.xlua_tointeger(L, 3);
                    LuaArrAccess _access = (LuaArrAccess)translator.GetObject(L, 4, typeof(LuaArrAccess));
                    long _fakeParentId = LuaAPI.lua_toint64(L, 5);
                    
                        var gen_ret = gen_to_be_invoked.UpdateMapCommonBattleObj( _commonObj, _type, _access, _fakeParentId );
                        translator.Push(L, gen_ret);
                    
                    
                    
                    return 1;
                }
                if(gen_param_count == 4&& translator.Assignable<Yoozoo.Gameplay.RTS.Proto.MapCommonBattleObj>(L, 2)&& LuaTypes.LUA_TNUMBER == LuaAPI.lua_type(L, 3)&& translator.Assignable<LuaArrAccess>(L, 4)) 
                {
                    Yoozoo.Gameplay.RTS.Proto.MapCommonBattleObj _commonObj;translator.Get(L, 2, out _commonObj);
                    int _type = LuaAPI.xlua_tointeger(L, 3);
                    LuaArrAccess _access = (LuaArrAccess)translator.GetObject(L, 4, typeof(LuaArrAccess));
                    
                        var gen_ret = gen_to_be_invoked.UpdateMapCommonBattleObj( _commonObj, _type, _access );
                        translator.Push(L, gen_ret);
                    
                    
                    
                    return 1;
                }
                
            } catch(System.Exception gen_e) {
                return LuaAPI.luaL_error(L, $"c# exception: {gen_e}\n{Yoozoo.Framework.Managers.LuaManager.GetTraceBack()}");
            }
            
            return LuaAPI.luaL_error(L, "invalid arguments to Yoozoo.Gameplay.RTS.MarchManager.UpdateMapCommonBattleObj!");
            
        }
        
        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
        static int _m_removeMapCommonBattleObj(RealStatePtr L)
        {
		    try {
            
                ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
            
            
                Yoozoo.Gameplay.RTS.MarchManager gen_to_be_invoked = (Yoozoo.Gameplay.RTS.MarchManager)translator.FastGetCSObj(L, 1);
            
            
                
                {
                    long _uid = LuaAPI.lua_toint64(L, 2);
                    int _type = LuaAPI.xlua_tointeger(L, 3);
                    
                    gen_to_be_invoked.removeMapCommonBattleObj( _uid, _type );
                    
                    
                    
                    return 0;
                }
                
            } catch(System.Exception gen_e) {
                return LuaAPI.luaL_error(L, $"c# exception: {gen_e}\n{Yoozoo.Framework.Managers.LuaManager.GetTraceBack()}");
            }
            
        }
        
        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
        static int _m_UpdateCheckPointAnnexBuilding(RealStatePtr L)
        {
		    try {
            
                ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
            
            
                Yoozoo.Gameplay.RTS.MarchManager gen_to_be_invoked = (Yoozoo.Gameplay.RTS.MarchManager)translator.FastGetCSObj(L, 1);
            
            
                
                {
                    long _checkPointId = LuaAPI.lua_toint64(L, 2);
                    long _uid = LuaAPI.lua_toint64(L, 3);
                    Yoozoo.Gameplay.RTS.Proto.Coordinate _coordinate;translator.Get(L, 4, out _coordinate);
                    
                    gen_to_be_invoked.UpdateCheckPointAnnexBuilding( _checkPointId, _uid, _coordinate );
                    
                    
                    
                    return 0;
                }
                
            } catch(System.Exception gen_e) {
                return LuaAPI.luaL_error(L, $"c# exception: {gen_e}\n{Yoozoo.Framework.Managers.LuaManager.GetTraceBack()}");
            }
            
        }
        
        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
        static int _m_RemoveCheckPointAnnexBuilding(RealStatePtr L)
        {
		    try {
            
                ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
            
            
                Yoozoo.Gameplay.RTS.MarchManager gen_to_be_invoked = (Yoozoo.Gameplay.RTS.MarchManager)translator.FastGetCSObj(L, 1);
            
            
                
                {
                    long _checkPointId = LuaAPI.lua_toint64(L, 2);
                    
                    gen_to_be_invoked.RemoveCheckPointAnnexBuilding( _checkPointId );
                    
                    
                    
                    return 0;
                }
                
            } catch(System.Exception gen_e) {
                return LuaAPI.luaL_error(L, $"c# exception: {gen_e}\n{Yoozoo.Framework.Managers.LuaManager.GetTraceBack()}");
            }
            
        }
        
        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
        static int _m_UpdateCheckPointFakeTroopMatch(RealStatePtr L)
        {
		    try {
            
                ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
            
            
                Yoozoo.Gameplay.RTS.MarchManager gen_to_be_invoked = (Yoozoo.Gameplay.RTS.MarchManager)translator.FastGetCSObj(L, 1);
            
            
                
                {
                    int _type = LuaAPI.xlua_tointeger(L, 2);
                    long _parentId = LuaAPI.lua_toint64(L, 3);
                    long _childId = LuaAPI.lua_toint64(L, 4);
                    Yoozoo.Gameplay.RTS.Proto.Coordinate _coordinate;translator.Get(L, 5, out _coordinate);
                    
                    gen_to_be_invoked.UpdateCheckPointFakeTroopMatch( _type, _parentId, _childId, _coordinate );
                    
                    
                    
                    return 0;
                }
                
            } catch(System.Exception gen_e) {
                return LuaAPI.luaL_error(L, $"c# exception: {gen_e}\n{Yoozoo.Framework.Managers.LuaManager.GetTraceBack()}");
            }
            
        }
        
        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
        static int _m_RemoveFakeChildren(RealStatePtr L)
        {
		    try {
            
                ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
            
            
                Yoozoo.Gameplay.RTS.MarchManager gen_to_be_invoked = (Yoozoo.Gameplay.RTS.MarchManager)translator.FastGetCSObj(L, 1);
            
            
                
                {
                    int _type = LuaAPI.xlua_tointeger(L, 2);
                    long _childId = LuaAPI.lua_toint64(L, 3);
                    
                    gen_to_be_invoked.RemoveFakeChildren( _type, _childId );
                    
                    
                    
                    return 0;
                }
                
            } catch(System.Exception gen_e) {
                return LuaAPI.luaL_error(L, $"c# exception: {gen_e}\n{Yoozoo.Framework.Managers.LuaManager.GetTraceBack()}");
            }
            
        }
        
        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
        static int _m_RemoveFakeParent(RealStatePtr L)
        {
		    try {
            
                ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
            
            
                Yoozoo.Gameplay.RTS.MarchManager gen_to_be_invoked = (Yoozoo.Gameplay.RTS.MarchManager)translator.FastGetCSObj(L, 1);
            
            
                
                {
                    int _type = LuaAPI.xlua_tointeger(L, 2);
                    long _parentId = LuaAPI.lua_toint64(L, 3);
                    
                    gen_to_be_invoked.RemoveFakeParent( _type, _parentId );
                    
                    
                    
                    return 0;
                }
                
            } catch(System.Exception gen_e) {
                return LuaAPI.luaL_error(L, $"c# exception: {gen_e}\n{Yoozoo.Framework.Managers.LuaManager.GetTraceBack()}");
            }
            
        }
        
        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
        static int _m_UpdateFakeTroopMarch(RealStatePtr L)
        {
		    try {
            
                ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
            
            
                Yoozoo.Gameplay.RTS.MarchManager gen_to_be_invoked = (Yoozoo.Gameplay.RTS.MarchManager)translator.FastGetCSObj(L, 1);
            
            
                
                {
                    long _parentId = LuaAPI.lua_toint64(L, 2);
                    long _childId = LuaAPI.lua_toint64(L, 3);
                    Yoozoo.Gameplay.RTS.Proto.TargetCoordinateType _type;translator.Get(L, 4, out _type);
                    
                    gen_to_be_invoked.UpdateFakeTroopMarch( _parentId, _childId, _type );
                    
                    
                    
                    return 0;
                }
                
            } catch(System.Exception gen_e) {
                return LuaAPI.luaL_error(L, $"c# exception: {gen_e}\n{Yoozoo.Framework.Managers.LuaManager.GetTraceBack()}");
            }
            
        }
        
        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
        static int _m_AddToChaseList(RealStatePtr L)
        {
		    try {
            
                ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
            
            
                Yoozoo.Gameplay.RTS.MarchManager gen_to_be_invoked = (Yoozoo.Gameplay.RTS.MarchManager)translator.FastGetCSObj(L, 1);
            
            
                
                {
                    MarchEntity _entity = (MarchEntity)translator.GetObject(L, 2, typeof(MarchEntity));
                    
                    gen_to_be_invoked.AddToChaseList( _entity );
                    
                    
                    
                    return 0;
                }
                
            } catch(System.Exception gen_e) {
                return LuaAPI.luaL_error(L, $"c# exception: {gen_e}\n{Yoozoo.Framework.Managers.LuaManager.GetTraceBack()}");
            }
            
        }
        
        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
        static int _m_StopAllBattleAudio(RealStatePtr L)
        {
		    try {
            
                ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
            
            
                Yoozoo.Gameplay.RTS.MarchManager gen_to_be_invoked = (Yoozoo.Gameplay.RTS.MarchManager)translator.FastGetCSObj(L, 1);
            
            
                
                {
                    
                    gen_to_be_invoked.StopAllBattleAudio(  );
                    
                    
                    
                    return 0;
                }
                
            } catch(System.Exception gen_e) {
                return LuaAPI.luaL_error(L, $"c# exception: {gen_e}\n{Yoozoo.Framework.Managers.LuaManager.GetTraceBack()}");
            }
            
        }
        
        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
        static int _m_CheckStopSelfBattle(RealStatePtr L)
        {
		    try {
            
                ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
            
            
                Yoozoo.Gameplay.RTS.MarchManager gen_to_be_invoked = (Yoozoo.Gameplay.RTS.MarchManager)translator.FastGetCSObj(L, 1);
            
            
                
                {
                    int _marchTeam = LuaAPI.xlua_tointeger(L, 2);
                    int _targetTeam = LuaAPI.xlua_tointeger(L, 3);
                    
                    gen_to_be_invoked.CheckStopSelfBattle( _marchTeam, _targetTeam );
                    
                    
                    
                    return 0;
                }
                
            } catch(System.Exception gen_e) {
                return LuaAPI.luaL_error(L, $"c# exception: {gen_e}\n{Yoozoo.Framework.Managers.LuaManager.GetTraceBack()}");
            }
            
        }
        
        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
        static int _m_SetArenaMarchContext(RealStatePtr L)
        {
		    try {
            
                ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
            
            
                Yoozoo.Gameplay.RTS.MarchManager gen_to_be_invoked = (Yoozoo.Gameplay.RTS.MarchManager)translator.FastGetCSObj(L, 1);
            
            
                
                {
                    UnityEngine.Transform _cameraTransform = (UnityEngine.Transform)translator.GetObject(L, 2, typeof(UnityEngine.Transform));
                    
                    gen_to_be_invoked.SetArenaMarchContext( _cameraTransform );
                    
                    
                    
                    return 0;
                }
                
            } catch(System.Exception gen_e) {
                return LuaAPI.luaL_error(L, $"c# exception: {gen_e}\n{Yoozoo.Framework.Managers.LuaManager.GetTraceBack()}");
            }
            
        }
        
        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
        static int _m_UnsetArenaMarchContext(RealStatePtr L)
        {
		    try {
            
                ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
            
            
                Yoozoo.Gameplay.RTS.MarchManager gen_to_be_invoked = (Yoozoo.Gameplay.RTS.MarchManager)translator.FastGetCSObj(L, 1);
            
            
                
                {
                    
                    gen_to_be_invoked.UnsetArenaMarchContext(  );
                    
                    
                    
                    return 0;
                }
                
            } catch(System.Exception gen_e) {
                return LuaAPI.luaL_error(L, $"c# exception: {gen_e}\n{Yoozoo.Framework.Managers.LuaManager.GetTraceBack()}");
            }
            
        }
        
        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
        static int _m_SelectBattleTroop(RealStatePtr L)
        {
		    try {
            
                ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
            
            
                Yoozoo.Gameplay.RTS.MarchManager gen_to_be_invoked = (Yoozoo.Gameplay.RTS.MarchManager)translator.FastGetCSObj(L, 1);
            
            
			    int gen_param_count = LuaAPI.lua_gettop(L);
            
                if(gen_param_count == 6&& (LuaTypes.LUA_TNUMBER == LuaAPI.lua_type(L, 2) || LuaAPI.lua_isint64(L, 2))&& translator.Assignable<Yoozoo.Gameplay.RTS.Proto.TargetCoordinateType>(L, 3)&& LuaTypes.LUA_TNUMBER == LuaAPI.lua_type(L, 4)&& LuaTypes.LUA_TNUMBER == LuaAPI.lua_type(L, 5)&& translator.Assignable<Yoozoo.Gameplay.RTS.Troop>(L, 6)) 
                {
                    long _targetId = LuaAPI.lua_toint64(L, 2);
                    Yoozoo.Gameplay.RTS.Proto.TargetCoordinateType _type;translator.Get(L, 3, out _type);
                    float _otherAlpha = (float)LuaAPI.lua_tonumber(L, 4);
                    int _team = LuaAPI.xlua_tointeger(L, 5);
                    Yoozoo.Gameplay.RTS.Troop _troop;translator.Get(L, 6, out _troop);
                    
                    gen_to_be_invoked.SelectBattleTroop( _targetId, _type, _otherAlpha, _team, _troop );
                    
                    
                    
                    return 0;
                }
                if(gen_param_count == 5&& (LuaTypes.LUA_TNUMBER == LuaAPI.lua_type(L, 2) || LuaAPI.lua_isint64(L, 2))&& translator.Assignable<Yoozoo.Gameplay.RTS.Proto.TargetCoordinateType>(L, 3)&& LuaTypes.LUA_TNUMBER == LuaAPI.lua_type(L, 4)&& LuaTypes.LUA_TNUMBER == LuaAPI.lua_type(L, 5)) 
                {
                    long _targetId = LuaAPI.lua_toint64(L, 2);
                    Yoozoo.Gameplay.RTS.Proto.TargetCoordinateType _type;translator.Get(L, 3, out _type);
                    float _otherAlpha = (float)LuaAPI.lua_tonumber(L, 4);
                    int _team = LuaAPI.xlua_tointeger(L, 5);
                    
                    gen_to_be_invoked.SelectBattleTroop( _targetId, _type, _otherAlpha, _team );
                    
                    
                    
                    return 0;
                }
                if(gen_param_count == 4&& (LuaTypes.LUA_TNUMBER == LuaAPI.lua_type(L, 2) || LuaAPI.lua_isint64(L, 2))&& translator.Assignable<Yoozoo.Gameplay.RTS.Proto.TargetCoordinateType>(L, 3)&& LuaTypes.LUA_TNUMBER == LuaAPI.lua_type(L, 4)) 
                {
                    long _targetId = LuaAPI.lua_toint64(L, 2);
                    Yoozoo.Gameplay.RTS.Proto.TargetCoordinateType _type;translator.Get(L, 3, out _type);
                    float _otherAlpha = (float)LuaAPI.lua_tonumber(L, 4);
                    
                    gen_to_be_invoked.SelectBattleTroop( _targetId, _type, _otherAlpha );
                    
                    
                    
                    return 0;
                }
                
            } catch(System.Exception gen_e) {
                return LuaAPI.luaL_error(L, $"c# exception: {gen_e}\n{Yoozoo.Framework.Managers.LuaManager.GetTraceBack()}");
            }
            
            return LuaAPI.luaL_error(L, "invalid arguments to Yoozoo.Gameplay.RTS.MarchManager.SelectBattleTroop!");
            
        }
        
        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
        static int _m_SelectBattleTroops(RealStatePtr L)
        {
		    try {
            
                ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
            
            
                Yoozoo.Gameplay.RTS.MarchManager gen_to_be_invoked = (Yoozoo.Gameplay.RTS.MarchManager)translator.FastGetCSObj(L, 1);
            
            
                
                {
                    System.Collections.Generic.List<Yoozoo.Gameplay.RTS.Troop> _targetIdList = (System.Collections.Generic.List<Yoozoo.Gameplay.RTS.Troop>)translator.GetObject(L, 2, typeof(System.Collections.Generic.List<Yoozoo.Gameplay.RTS.Troop>));
                    float _otherAlpha = (float)LuaAPI.lua_tonumber(L, 3);
                    
                    gen_to_be_invoked.SelectBattleTroops( _targetIdList, _otherAlpha );
                    
                    
                    
                    return 0;
                }
                
            } catch(System.Exception gen_e) {
                return LuaAPI.luaL_error(L, $"c# exception: {gen_e}\n{Yoozoo.Framework.Managers.LuaManager.GetTraceBack()}");
            }
            
        }
        
        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
        static int _m_MoveSelectMarchToNormalCanvas(RealStatePtr L)
        {
		    try {
            
                ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
            
            
                Yoozoo.Gameplay.RTS.MarchManager gen_to_be_invoked = (Yoozoo.Gameplay.RTS.MarchManager)translator.FastGetCSObj(L, 1);
            
            
                
                {
                    System.Collections.Generic.List<long> _targetIdList = (System.Collections.Generic.List<long>)translator.GetObject(L, 2, typeof(System.Collections.Generic.List<long>));
                    
                    gen_to_be_invoked.MoveSelectMarchToNormalCanvas( _targetIdList );
                    
                    
                    
                    return 0;
                }
                
            } catch(System.Exception gen_e) {
                return LuaAPI.luaL_error(L, $"c# exception: {gen_e}\n{Yoozoo.Framework.Managers.LuaManager.GetTraceBack()}");
            }
            
        }
        
        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
        static int _m_DragTroopToTargetShowHud(RealStatePtr L)
        {
		    try {
            
                ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
            
            
                Yoozoo.Gameplay.RTS.MarchManager gen_to_be_invoked = (Yoozoo.Gameplay.RTS.MarchManager)translator.FastGetCSObj(L, 1);
            
            
			    int gen_param_count = LuaAPI.lua_gettop(L);
            
                if(gen_param_count == 8&& (LuaTypes.LUA_TNUMBER == LuaAPI.lua_type(L, 2) || LuaAPI.lua_isint64(L, 2))&& LuaTypes.LUA_TNUMBER == LuaAPI.lua_type(L, 3)&& (LuaTypes.LUA_TNUMBER == LuaAPI.lua_type(L, 4) || LuaAPI.lua_isint64(L, 4))&& LuaTypes.LUA_TNUMBER == LuaAPI.lua_type(L, 5)&& LuaTypes.LUA_TNUMBER == LuaAPI.lua_type(L, 6)&& LuaTypes.LUA_TBOOLEAN == LuaAPI.lua_type(L, 7)&& LuaTypes.LUA_TNUMBER == LuaAPI.lua_type(L, 8)) 
                {
                    long _targetId = LuaAPI.lua_toint64(L, 2);
                    int _targetType = LuaAPI.xlua_tointeger(L, 3);
                    long _selfId = LuaAPI.lua_toint64(L, 4);
                    int _selfType = LuaAPI.xlua_tointeger(L, 5);
                    float _otherAlpha = (float)LuaAPI.lua_tonumber(L, 6);
                    bool _isDragNormalStyle = LuaAPI.lua_toboolean(L, 7);
                    int _team = LuaAPI.xlua_tointeger(L, 8);
                    
                    gen_to_be_invoked.DragTroopToTargetShowHud( _targetId, _targetType, _selfId, _selfType, _otherAlpha, _isDragNormalStyle, _team );
                    
                    
                    
                    return 0;
                }
                if(gen_param_count == 7&& (LuaTypes.LUA_TNUMBER == LuaAPI.lua_type(L, 2) || LuaAPI.lua_isint64(L, 2))&& LuaTypes.LUA_TNUMBER == LuaAPI.lua_type(L, 3)&& (LuaTypes.LUA_TNUMBER == LuaAPI.lua_type(L, 4) || LuaAPI.lua_isint64(L, 4))&& LuaTypes.LUA_TNUMBER == LuaAPI.lua_type(L, 5)&& LuaTypes.LUA_TNUMBER == LuaAPI.lua_type(L, 6)&& LuaTypes.LUA_TBOOLEAN == LuaAPI.lua_type(L, 7)) 
                {
                    long _targetId = LuaAPI.lua_toint64(L, 2);
                    int _targetType = LuaAPI.xlua_tointeger(L, 3);
                    long _selfId = LuaAPI.lua_toint64(L, 4);
                    int _selfType = LuaAPI.xlua_tointeger(L, 5);
                    float _otherAlpha = (float)LuaAPI.lua_tonumber(L, 6);
                    bool _isDragNormalStyle = LuaAPI.lua_toboolean(L, 7);
                    
                    gen_to_be_invoked.DragTroopToTargetShowHud( _targetId, _targetType, _selfId, _selfType, _otherAlpha, _isDragNormalStyle );
                    
                    
                    
                    return 0;
                }
                
            } catch(System.Exception gen_e) {
                return LuaAPI.luaL_error(L, $"c# exception: {gen_e}\n{Yoozoo.Framework.Managers.LuaManager.GetTraceBack()}");
            }
            
            return LuaAPI.luaL_error(L, "invalid arguments to Yoozoo.Gameplay.RTS.MarchManager.DragTroopToTargetShowHud!");
            
        }
        
        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
        static int _m_SetTroopHudAlpha(RealStatePtr L)
        {
		    try {
            
                ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
            
            
                Yoozoo.Gameplay.RTS.MarchManager gen_to_be_invoked = (Yoozoo.Gameplay.RTS.MarchManager)translator.FastGetCSObj(L, 1);
            
            
                
                {
                    long _troopId = LuaAPI.lua_toint64(L, 2);
                    int _type = LuaAPI.xlua_tointeger(L, 3);
                    bool _isOn = LuaAPI.lua_toboolean(L, 4);
                    
                    gen_to_be_invoked.SetTroopHudAlpha( _troopId, _type, _isOn );
                    
                    
                    
                    return 0;
                }
                
            } catch(System.Exception gen_e) {
                return LuaAPI.luaL_error(L, $"c# exception: {gen_e}\n{Yoozoo.Framework.Managers.LuaManager.GetTraceBack()}");
            }
            
        }
        
        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
        static int _m_ShowAllSquareCircle(RealStatePtr L)
        {
		    try {
            
                ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
            
            
                Yoozoo.Gameplay.RTS.MarchManager gen_to_be_invoked = (Yoozoo.Gameplay.RTS.MarchManager)translator.FastGetCSObj(L, 1);
            
            
                
                {
                    
                    gen_to_be_invoked.ShowAllSquareCircle(  );
                    
                    
                    
                    return 0;
                }
                
            } catch(System.Exception gen_e) {
                return LuaAPI.luaL_error(L, $"c# exception: {gen_e}\n{Yoozoo.Framework.Managers.LuaManager.GetTraceBack()}");
            }
            
        }
        
        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
        static int _m_IsSelfAttack(RealStatePtr L)
        {
		    try {
            
                ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
            
            
                Yoozoo.Gameplay.RTS.MarchManager gen_to_be_invoked = (Yoozoo.Gameplay.RTS.MarchManager)translator.FastGetCSObj(L, 1);
            
            
                
                {
                    long _id = LuaAPI.lua_toint64(L, 2);
                    Yoozoo.Gameplay.RTS.Proto.TargetCoordinateType _target;translator.Get(L, 3, out _target);
                    
                        var gen_ret = gen_to_be_invoked.IsSelfAttack( _id, _target );
                        LuaAPI.lua_pushboolean(L, gen_ret);
                    
                    
                    
                    return 1;
                }
                
            } catch(System.Exception gen_e) {
                return LuaAPI.luaL_error(L, $"c# exception: {gen_e}\n{Yoozoo.Framework.Managers.LuaManager.GetTraceBack()}");
            }
            
        }
        
        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
        static int _m_ChangedArenaMarchPos(RealStatePtr L)
        {
		    try {
            
                ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
            
            
                Yoozoo.Gameplay.RTS.MarchManager gen_to_be_invoked = (Yoozoo.Gameplay.RTS.MarchManager)translator.FastGetCSObj(L, 1);
            
            
                
                {
                    float _x = (float)LuaAPI.lua_tonumber(L, 2);
                    float _y = (float)LuaAPI.lua_tonumber(L, 3);
                    float _z = (float)LuaAPI.lua_tonumber(L, 4);
                    int _id = LuaAPI.xlua_tointeger(L, 5);
                    
                    gen_to_be_invoked.ChangedArenaMarchPos( _x, _y, _z, _id );
                    
                    
                    
                    return 0;
                }
                
            } catch(System.Exception gen_e) {
                return LuaAPI.luaL_error(L, $"c# exception: {gen_e}\n{Yoozoo.Framework.Managers.LuaManager.GetTraceBack()}");
            }
            
        }
        
        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
        static int _m_CreateEsCapeEffect(RealStatePtr L)
        {
		    try {
            
                ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
            
            
                Yoozoo.Gameplay.RTS.MarchManager gen_to_be_invoked = (Yoozoo.Gameplay.RTS.MarchManager)translator.FastGetCSObj(L, 1);
            
            
                
                {
                    UnityEngine.Vector3 _position;translator.Get(L, 2, out _position);
                    
                    gen_to_be_invoked.CreateEsCapeEffect( _position );
                    
                    
                    
                    return 0;
                }
                
            } catch(System.Exception gen_e) {
                return LuaAPI.luaL_error(L, $"c# exception: {gen_e}\n{Yoozoo.Framework.Managers.LuaManager.GetTraceBack()}");
            }
            
        }
        
        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
        static int _m_UpdateCargoTruckHudStateDescText(RealStatePtr L)
        {
		    try {
            
                ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
            
            
                Yoozoo.Gameplay.RTS.MarchManager gen_to_be_invoked = (Yoozoo.Gameplay.RTS.MarchManager)translator.FastGetCSObj(L, 1);
            
            
                
                {
                    long _troopId = LuaAPI.lua_toint64(L, 2);
                    Yoozoo.Gameplay.RTS.Proto.TargetCoordinateType _troopType;translator.Get(L, 3, out _troopType);
                    bool _bIsActiveDescText = LuaAPI.lua_toboolean(L, 4);
                    string _content = LuaAPI.lua_tostring(L, 5);
                    
                    gen_to_be_invoked.UpdateCargoTruckHudStateDescText( _troopId, _troopType, _bIsActiveDescText, _content );
                    
                    
                    
                    return 0;
                }
                
            } catch(System.Exception gen_e) {
                return LuaAPI.luaL_error(L, $"c# exception: {gen_e}\n{Yoozoo.Framework.Managers.LuaManager.GetTraceBack()}");
            }
            
        }
        
        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
        static int _m_UpdateSmugglerHudIcon(RealStatePtr L)
        {
		    try {
            
                ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
            
            
                Yoozoo.Gameplay.RTS.MarchManager gen_to_be_invoked = (Yoozoo.Gameplay.RTS.MarchManager)translator.FastGetCSObj(L, 1);
            
            
                
                {
                    long _troopId = LuaAPI.lua_toint64(L, 2);
                    Yoozoo.Gameplay.RTS.Proto.TargetCoordinateType _troopType;translator.Get(L, 3, out _troopType);
                    string _icon = LuaAPI.lua_tostring(L, 4);
                    
                    gen_to_be_invoked.UpdateSmugglerHudIcon( _troopId, _troopType, _icon );
                    
                    
                    
                    return 0;
                }
                
            } catch(System.Exception gen_e) {
                return LuaAPI.luaL_error(L, $"c# exception: {gen_e}\n{Yoozoo.Framework.Managers.LuaManager.GetTraceBack()}");
            }
            
        }
        
        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
        static int _m_UpdateSmugglerWorldPosTip(RealStatePtr L)
        {
		    try {
            
                ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
            
            
                Yoozoo.Gameplay.RTS.MarchManager gen_to_be_invoked = (Yoozoo.Gameplay.RTS.MarchManager)translator.FastGetCSObj(L, 1);
            
            
                
                {
                    long _troopId = LuaAPI.lua_toint64(L, 2);
                    Yoozoo.Gameplay.RTS.Proto.TargetCoordinateType _troopType;translator.Get(L, 3, out _troopType);
                    bool _bShow = LuaAPI.lua_toboolean(L, 4);
                    string _tip = LuaAPI.lua_tostring(L, 5);
                    
                    gen_to_be_invoked.UpdateSmugglerWorldPosTip( _troopId, _troopType, _bShow, _tip );
                    
                    
                    
                    return 0;
                }
                
            } catch(System.Exception gen_e) {
                return LuaAPI.luaL_error(L, $"c# exception: {gen_e}\n{Yoozoo.Framework.Managers.LuaManager.GetTraceBack()}");
            }
            
        }
        
        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
        static int _m_UpdateCargoTruckHudTroopCount(RealStatePtr L)
        {
		    try {
            
                ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
            
            
                Yoozoo.Gameplay.RTS.MarchManager gen_to_be_invoked = (Yoozoo.Gameplay.RTS.MarchManager)translator.FastGetCSObj(L, 1);
            
            
                
                {
                    long _troopId = LuaAPI.lua_toint64(L, 2);
                    Yoozoo.Gameplay.RTS.Proto.TargetCoordinateType _troopType;translator.Get(L, 3, out _troopType);
                    int _troopCount = LuaAPI.xlua_tointeger(L, 4);
                    
                    gen_to_be_invoked.UpdateCargoTruckHudTroopCount( _troopId, _troopType, _troopCount );
                    
                    
                    
                    return 0;
                }
                
            } catch(System.Exception gen_e) {
                return LuaAPI.luaL_error(L, $"c# exception: {gen_e}\n{Yoozoo.Framework.Managers.LuaManager.GetTraceBack()}");
            }
            
        }
        
        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
        static int _m_SetAlliancePracticeBossNameText(RealStatePtr L)
        {
		    try {
            
                ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
            
            
                Yoozoo.Gameplay.RTS.MarchManager gen_to_be_invoked = (Yoozoo.Gameplay.RTS.MarchManager)translator.FastGetCSObj(L, 1);
            
            
                
                {
                    long _troopId = LuaAPI.lua_toint64(L, 2);
                    Yoozoo.Gameplay.RTS.Proto.TargetCoordinateType _troopType;translator.Get(L, 3, out _troopType);
                    string _name = LuaAPI.lua_tostring(L, 4);
                    
                    gen_to_be_invoked.SetAlliancePracticeBossNameText( _troopId, _troopType, _name );
                    
                    
                    
                    return 0;
                }
                
            } catch(System.Exception gen_e) {
                return LuaAPI.luaL_error(L, $"c# exception: {gen_e}\n{Yoozoo.Framework.Managers.LuaManager.GetTraceBack()}");
            }
            
        }
        
        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
        static int _m_SetAlliancePracticeBossTimeText(RealStatePtr L)
        {
		    try {
            
                ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
            
            
                Yoozoo.Gameplay.RTS.MarchManager gen_to_be_invoked = (Yoozoo.Gameplay.RTS.MarchManager)translator.FastGetCSObj(L, 1);
            
            
                
                {
                    long _troopId = LuaAPI.lua_toint64(L, 2);
                    Yoozoo.Gameplay.RTS.Proto.TargetCoordinateType _troopType;translator.Get(L, 3, out _troopType);
                    string _timeStr = LuaAPI.lua_tostring(L, 4);
                    
                    gen_to_be_invoked.SetAlliancePracticeBossTimeText( _troopId, _troopType, _timeStr );
                    
                    
                    
                    return 0;
                }
                
            } catch(System.Exception gen_e) {
                return LuaAPI.luaL_error(L, $"c# exception: {gen_e}\n{Yoozoo.Framework.Managers.LuaManager.GetTraceBack()}");
            }
            
        }
        
        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
        static int _m_SetAlliancePracticeBossCDStateRootActive(RealStatePtr L)
        {
		    try {
            
                ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
            
            
                Yoozoo.Gameplay.RTS.MarchManager gen_to_be_invoked = (Yoozoo.Gameplay.RTS.MarchManager)translator.FastGetCSObj(L, 1);
            
            
                
                {
                    long _troopId = LuaAPI.lua_toint64(L, 2);
                    Yoozoo.Gameplay.RTS.Proto.TargetCoordinateType _troopType;translator.Get(L, 3, out _troopType);
                    bool _active = LuaAPI.lua_toboolean(L, 4);
                    
                    gen_to_be_invoked.SetAlliancePracticeBossCDStateRootActive( _troopId, _troopType, _active );
                    
                    
                    
                    return 0;
                }
                
            } catch(System.Exception gen_e) {
                return LuaAPI.luaL_error(L, $"c# exception: {gen_e}\n{Yoozoo.Framework.Managers.LuaManager.GetTraceBack()}");
            }
            
        }
        
        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
        static int _m_SetAlliancePracticeBossMvpText(RealStatePtr L)
        {
		    try {
            
                ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
            
            
                Yoozoo.Gameplay.RTS.MarchManager gen_to_be_invoked = (Yoozoo.Gameplay.RTS.MarchManager)translator.FastGetCSObj(L, 1);
            
            
                
                {
                    long _troopId = LuaAPI.lua_toint64(L, 2);
                    Yoozoo.Gameplay.RTS.Proto.TargetCoordinateType _troopType;translator.Get(L, 3, out _troopType);
                    string _mvpText = LuaAPI.lua_tostring(L, 4);
                    
                    gen_to_be_invoked.SetAlliancePracticeBossMvpText( _troopId, _troopType, _mvpText );
                    
                    
                    
                    return 0;
                }
                
            } catch(System.Exception gen_e) {
                return LuaAPI.luaL_error(L, $"c# exception: {gen_e}\n{Yoozoo.Framework.Managers.LuaManager.GetTraceBack()}");
            }
            
        }
        
        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
        static int _m_SetAlliancePracticeBossRewardStageText(RealStatePtr L)
        {
		    try {
            
                ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
            
            
                Yoozoo.Gameplay.RTS.MarchManager gen_to_be_invoked = (Yoozoo.Gameplay.RTS.MarchManager)translator.FastGetCSObj(L, 1);
            
            
                
                {
                    long _troopId = LuaAPI.lua_toint64(L, 2);
                    Yoozoo.Gameplay.RTS.Proto.TargetCoordinateType _troopType;translator.Get(L, 3, out _troopType);
                    string _rewardStageText = LuaAPI.lua_tostring(L, 4);
                    
                    gen_to_be_invoked.SetAlliancePracticeBossRewardStageText( _troopId, _troopType, _rewardStageText );
                    
                    
                    
                    return 0;
                }
                
            } catch(System.Exception gen_e) {
                return LuaAPI.luaL_error(L, $"c# exception: {gen_e}\n{Yoozoo.Framework.Managers.LuaManager.GetTraceBack()}");
            }
            
        }
        
        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
        static int _m_SetAlliancePracticeBossRewardProgressBar(RealStatePtr L)
        {
		    try {
            
                ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
            
            
                Yoozoo.Gameplay.RTS.MarchManager gen_to_be_invoked = (Yoozoo.Gameplay.RTS.MarchManager)translator.FastGetCSObj(L, 1);
            
            
                
                {
                    long _troopId = LuaAPI.lua_toint64(L, 2);
                    Yoozoo.Gameplay.RTS.Proto.TargetCoordinateType _troopType;translator.Get(L, 3, out _troopType);
                    float _ratio = (float)LuaAPI.lua_tonumber(L, 4);
                    
                    gen_to_be_invoked.SetAlliancePracticeBossRewardProgressBar( _troopId, _troopType, _ratio );
                    
                    
                    
                    return 0;
                }
                
            } catch(System.Exception gen_e) {
                return LuaAPI.luaL_error(L, $"c# exception: {gen_e}\n{Yoozoo.Framework.Managers.LuaManager.GetTraceBack()}");
            }
            
        }
        
        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
        static int _m_setUsererServerId(RealStatePtr L)
        {
		    try {
            
                ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
            
            
                Yoozoo.Gameplay.RTS.MarchManager gen_to_be_invoked = (Yoozoo.Gameplay.RTS.MarchManager)translator.FastGetCSObj(L, 1);
            
            
                
                {
                    long _id = LuaAPI.lua_toint64(L, 2);
                    
                    gen_to_be_invoked.setUsererServerId( _id );
                    
                    
                    
                    return 0;
                }
                
            } catch(System.Exception gen_e) {
                return LuaAPI.luaL_error(L, $"c# exception: {gen_e}\n{Yoozoo.Framework.Managers.LuaManager.GetTraceBack()}");
            }
            
        }
        
        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
        static int _m_SetSandBoxServerId(RealStatePtr L)
        {
		    try {
            
                ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
            
            
                Yoozoo.Gameplay.RTS.MarchManager gen_to_be_invoked = (Yoozoo.Gameplay.RTS.MarchManager)translator.FastGetCSObj(L, 1);
            
            
                
                {
                    long _id = LuaAPI.lua_toint64(L, 2);
                    
                    gen_to_be_invoked.SetSandBoxServerId( _id );
                    
                    
                    
                    return 0;
                }
                
            } catch(System.Exception gen_e) {
                return LuaAPI.luaL_error(L, $"c# exception: {gen_e}\n{Yoozoo.Framework.Managers.LuaManager.GetTraceBack()}");
            }
            
        }
        
        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
        static int _m_GetSandBoxServerId(RealStatePtr L)
        {
		    try {
            
                ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
            
            
                Yoozoo.Gameplay.RTS.MarchManager gen_to_be_invoked = (Yoozoo.Gameplay.RTS.MarchManager)translator.FastGetCSObj(L, 1);
            
            
                
                {
                    
                        var gen_ret = gen_to_be_invoked.GetSandBoxServerId(  );
                        LuaAPI.lua_pushint64(L, gen_ret);
                    
                    
                    
                    return 1;
                }
                
            } catch(System.Exception gen_e) {
                return LuaAPI.luaL_error(L, $"c# exception: {gen_e}\n{Yoozoo.Framework.Managers.LuaManager.GetTraceBack()}");
            }
            
        }
        
        
        
        
        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
        static int _g_get_CurrentMarchNum(RealStatePtr L)
        {
		    try {
            
			    LuaAPI.xlua_pushinteger(L, Yoozoo.Gameplay.RTS.MarchManager.CurrentMarchNum);
            } catch(System.Exception gen_e) {
                return LuaAPI.luaL_error(L, $"c# exception: {gen_e}\n{Yoozoo.Framework.Managers.LuaManager.GetTraceBack()}");
            }
            return 1;
        }
        
        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
        static int _g_get_Count(RealStatePtr L)
        {
		    try {
                ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
			
                Yoozoo.Gameplay.RTS.MarchManager gen_to_be_invoked = (Yoozoo.Gameplay.RTS.MarchManager)translator.FastGetCSObj(L, 1);
                LuaAPI.xlua_pushinteger(L, gen_to_be_invoked.Count);
            } catch(System.Exception gen_e) {
                return LuaAPI.luaL_error(L, $"c# exception: {gen_e}\n{Yoozoo.Framework.Managers.LuaManager.GetTraceBack()}");
            }
            return 1;
        }
        
        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
        static int _g_get_Marches(RealStatePtr L)
        {
		    try {
                ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
			
                Yoozoo.Gameplay.RTS.MarchManager gen_to_be_invoked = (Yoozoo.Gameplay.RTS.MarchManager)translator.FastGetCSObj(L, 1);
                translator.Push(L, gen_to_be_invoked.Marches);
            } catch(System.Exception gen_e) {
                return LuaAPI.luaL_error(L, $"c# exception: {gen_e}\n{Yoozoo.Framework.Managers.LuaManager.GetTraceBack()}");
            }
            return 1;
        }
        
        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
        static int _g_get_UpdateSoldierCallBack(RealStatePtr L)
        {
		    try {
                ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
			    translator.Push(L, Yoozoo.Gameplay.RTS.MarchManager.UpdateSoldierCallBack);
            } catch(System.Exception gen_e) {
                return LuaAPI.luaL_error(L, $"c# exception: {gen_e}\n{Yoozoo.Framework.Managers.LuaManager.GetTraceBack()}");
            }
            return 1;
        }
        
        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
        static int _g_get_ParseSiegeFightInfo(RealStatePtr L)
        {
		    try {
                ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
			
                Yoozoo.Gameplay.RTS.MarchManager gen_to_be_invoked = (Yoozoo.Gameplay.RTS.MarchManager)translator.FastGetCSObj(L, 1);
                translator.Push(L, gen_to_be_invoked.ParseSiegeFightInfo);
            } catch(System.Exception gen_e) {
                return LuaAPI.luaL_error(L, $"c# exception: {gen_e}\n{Yoozoo.Framework.Managers.LuaManager.GetTraceBack()}");
            }
            return 1;
        }
        
        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
        static int _g_get_DispatchSkillEvent(RealStatePtr L)
        {
		    try {
                ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
			
                Yoozoo.Gameplay.RTS.MarchManager gen_to_be_invoked = (Yoozoo.Gameplay.RTS.MarchManager)translator.FastGetCSObj(L, 1);
                translator.Push(L, gen_to_be_invoked.DispatchSkillEvent);
            } catch(System.Exception gen_e) {
                return LuaAPI.luaL_error(L, $"c# exception: {gen_e}\n{Yoozoo.Framework.Managers.LuaManager.GetTraceBack()}");
            }
            return 1;
        }
        
        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
        static int _g_get_FocusTroopAction(RealStatePtr L)
        {
		    try {
                ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
			
                Yoozoo.Gameplay.RTS.MarchManager gen_to_be_invoked = (Yoozoo.Gameplay.RTS.MarchManager)translator.FastGetCSObj(L, 1);
                translator.Push(L, gen_to_be_invoked.FocusTroopAction);
            } catch(System.Exception gen_e) {
                return LuaAPI.luaL_error(L, $"c# exception: {gen_e}\n{Yoozoo.Framework.Managers.LuaManager.GetTraceBack()}");
            }
            return 1;
        }
        
        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
        static int _g_get_Instance(RealStatePtr L)
        {
		    try {
                ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
			    translator.Push(L, Yoozoo.Gameplay.RTS.MarchManager.Instance);
            } catch(System.Exception gen_e) {
                return LuaAPI.luaL_error(L, $"c# exception: {gen_e}\n{Yoozoo.Framework.Managers.LuaManager.GetTraceBack()}");
            }
            return 1;
        }
        
        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
        static int _g_get_drawLodInfo(RealStatePtr L)
        {
		    try {
                ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
			
                Yoozoo.Gameplay.RTS.MarchManager gen_to_be_invoked = (Yoozoo.Gameplay.RTS.MarchManager)translator.FastGetCSObj(L, 1);
                LuaAPI.lua_pushboolean(L, gen_to_be_invoked.drawLodInfo);
            } catch(System.Exception gen_e) {
                return LuaAPI.luaL_error(L, $"c# exception: {gen_e}\n{Yoozoo.Framework.Managers.LuaManager.GetTraceBack()}");
            }
            return 1;
        }
        
        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
        static int _g_get_marchContext(RealStatePtr L)
        {
		    try {
                ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
			
                Yoozoo.Gameplay.RTS.MarchManager gen_to_be_invoked = (Yoozoo.Gameplay.RTS.MarchManager)translator.FastGetCSObj(L, 1);
                translator.Push(L, gen_to_be_invoked.marchContext);
            } catch(System.Exception gen_e) {
                return LuaAPI.luaL_error(L, $"c# exception: {gen_e}\n{Yoozoo.Framework.Managers.LuaManager.GetTraceBack()}");
            }
            return 1;
        }
        
        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
        static int _g_get_audioController(RealStatePtr L)
        {
		    try {
                ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
			
                Yoozoo.Gameplay.RTS.MarchManager gen_to_be_invoked = (Yoozoo.Gameplay.RTS.MarchManager)translator.FastGetCSObj(L, 1);
                translator.Push(L, gen_to_be_invoked.audioController);
            } catch(System.Exception gen_e) {
                return LuaAPI.luaL_error(L, $"c# exception: {gen_e}\n{Yoozoo.Framework.Managers.LuaManager.GetTraceBack()}");
            }
            return 1;
        }
        
        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
        static int _g_get_moveAudioCount(RealStatePtr L)
        {
		    try {
                ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
			
                Yoozoo.Gameplay.RTS.MarchManager gen_to_be_invoked = (Yoozoo.Gameplay.RTS.MarchManager)translator.FastGetCSObj(L, 1);
                LuaAPI.xlua_pushinteger(L, gen_to_be_invoked.moveAudioCount);
            } catch(System.Exception gen_e) {
                return LuaAPI.luaL_error(L, $"c# exception: {gen_e}\n{Yoozoo.Framework.Managers.LuaManager.GetTraceBack()}");
            }
            return 1;
        }
        
        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
        static int _g_get_moveAudioCountLimit(RealStatePtr L)
        {
		    try {
            
			    LuaAPI.xlua_pushinteger(L, Yoozoo.Gameplay.RTS.MarchManager.moveAudioCountLimit);
            } catch(System.Exception gen_e) {
                return LuaAPI.luaL_error(L, $"c# exception: {gen_e}\n{Yoozoo.Framework.Managers.LuaManager.GetTraceBack()}");
            }
            return 1;
        }
        
        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
        static int _g_get_IsInArena(RealStatePtr L)
        {
		    try {
                ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
			
                Yoozoo.Gameplay.RTS.MarchManager gen_to_be_invoked = (Yoozoo.Gameplay.RTS.MarchManager)translator.FastGetCSObj(L, 1);
                LuaAPI.lua_pushboolean(L, gen_to_be_invoked.IsInArena);
            } catch(System.Exception gen_e) {
                return LuaAPI.luaL_error(L, $"c# exception: {gen_e}\n{Yoozoo.Framework.Managers.LuaManager.GetTraceBack()}");
            }
            return 1;
        }
        
        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
        static int _g_get_fakeTroopParents(RealStatePtr L)
        {
		    try {
                ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
			
                Yoozoo.Gameplay.RTS.MarchManager gen_to_be_invoked = (Yoozoo.Gameplay.RTS.MarchManager)translator.FastGetCSObj(L, 1);
                translator.Push(L, gen_to_be_invoked.fakeTroopParents);
            } catch(System.Exception gen_e) {
                return LuaAPI.luaL_error(L, $"c# exception: {gen_e}\n{Yoozoo.Framework.Managers.LuaManager.GetTraceBack()}");
            }
            return 1;
        }
        
        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
        static int _g_get_deltaTime(RealStatePtr L)
        {
		    try {
                ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
			
                Yoozoo.Gameplay.RTS.MarchManager gen_to_be_invoked = (Yoozoo.Gameplay.RTS.MarchManager)translator.FastGetCSObj(L, 1);
                LuaAPI.lua_pushnumber(L, gen_to_be_invoked.deltaTime);
            } catch(System.Exception gen_e) {
                return LuaAPI.luaL_error(L, $"c# exception: {gen_e}\n{Yoozoo.Framework.Managers.LuaManager.GetTraceBack()}");
            }
            return 1;
        }
        
        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
        static int _g_get_clientTime(RealStatePtr L)
        {
		    try {
                ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
			
                Yoozoo.Gameplay.RTS.MarchManager gen_to_be_invoked = (Yoozoo.Gameplay.RTS.MarchManager)translator.FastGetCSObj(L, 1);
                LuaAPI.lua_pushnumber(L, gen_to_be_invoked.clientTime);
            } catch(System.Exception gen_e) {
                return LuaAPI.luaL_error(L, $"c# exception: {gen_e}\n{Yoozoo.Framework.Managers.LuaManager.GetTraceBack()}");
            }
            return 1;
        }
        
        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
        static int _g_get_cachedTestAction(RealStatePtr L)
        {
		    try {
                ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
			
                Yoozoo.Gameplay.RTS.MarchManager gen_to_be_invoked = (Yoozoo.Gameplay.RTS.MarchManager)translator.FastGetCSObj(L, 1);
                translator.Push(L, gen_to_be_invoked.cachedTestAction);
            } catch(System.Exception gen_e) {
                return LuaAPI.luaL_error(L, $"c# exception: {gen_e}\n{Yoozoo.Framework.Managers.LuaManager.GetTraceBack()}");
            }
            return 1;
        }
        
        
        
        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
        static int _s_set_CurrentMarchNum(RealStatePtr L)
        {
		    try {
                
			    Yoozoo.Gameplay.RTS.MarchManager.CurrentMarchNum = LuaAPI.xlua_tointeger(L, 1);
            
            } catch(System.Exception gen_e) {
                return LuaAPI.luaL_error(L, $"c# exception: {gen_e}\n{Yoozoo.Framework.Managers.LuaManager.GetTraceBack()}");
            }
            return 0;
        }
        
        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
        static int _s_set_UpdateSoldierCallBack(RealStatePtr L)
        {
		    try {
                ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
			    Yoozoo.Gameplay.RTS.MarchManager.UpdateSoldierCallBack = translator.GetDelegate<Yoozoo.Gameplay.RTS.UpdateSoldierCallBack>(L, 1);
            
            } catch(System.Exception gen_e) {
                return LuaAPI.luaL_error(L, $"c# exception: {gen_e}\n{Yoozoo.Framework.Managers.LuaManager.GetTraceBack()}");
            }
            return 0;
        }
        
        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
        static int _s_set_ParseSiegeFightInfo(RealStatePtr L)
        {
		    try {
                ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
			
                Yoozoo.Gameplay.RTS.MarchManager gen_to_be_invoked = (Yoozoo.Gameplay.RTS.MarchManager)translator.FastGetCSObj(L, 1);
                gen_to_be_invoked.ParseSiegeFightInfo = (XLua.LuaFunction)translator.GetObject(L, 2, typeof(XLua.LuaFunction));
            
            } catch(System.Exception gen_e) {
                return LuaAPI.luaL_error(L, $"c# exception: {gen_e}\n{Yoozoo.Framework.Managers.LuaManager.GetTraceBack()}");
            }
            return 0;
        }
        
        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
        static int _s_set_DispatchSkillEvent(RealStatePtr L)
        {
		    try {
                ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
			
                Yoozoo.Gameplay.RTS.MarchManager gen_to_be_invoked = (Yoozoo.Gameplay.RTS.MarchManager)translator.FastGetCSObj(L, 1);
                gen_to_be_invoked.DispatchSkillEvent = (XLua.LuaFunction)translator.GetObject(L, 2, typeof(XLua.LuaFunction));
            
            } catch(System.Exception gen_e) {
                return LuaAPI.luaL_error(L, $"c# exception: {gen_e}\n{Yoozoo.Framework.Managers.LuaManager.GetTraceBack()}");
            }
            return 0;
        }
        
        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
        static int _s_set_FocusTroopAction(RealStatePtr L)
        {
		    try {
                ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
			
                Yoozoo.Gameplay.RTS.MarchManager gen_to_be_invoked = (Yoozoo.Gameplay.RTS.MarchManager)translator.FastGetCSObj(L, 1);
                gen_to_be_invoked.FocusTroopAction = (XLua.LuaFunction)translator.GetObject(L, 2, typeof(XLua.LuaFunction));
            
            } catch(System.Exception gen_e) {
                return LuaAPI.luaL_error(L, $"c# exception: {gen_e}\n{Yoozoo.Framework.Managers.LuaManager.GetTraceBack()}");
            }
            return 0;
        }
        
        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
        static int _s_set_Instance(RealStatePtr L)
        {
		    try {
                ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
			    Yoozoo.Gameplay.RTS.MarchManager.Instance = (Yoozoo.Gameplay.RTS.MarchManager)translator.GetObject(L, 1, typeof(Yoozoo.Gameplay.RTS.MarchManager));
            
            } catch(System.Exception gen_e) {
                return LuaAPI.luaL_error(L, $"c# exception: {gen_e}\n{Yoozoo.Framework.Managers.LuaManager.GetTraceBack()}");
            }
            return 0;
        }
        
        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
        static int _s_set_drawLodInfo(RealStatePtr L)
        {
		    try {
                ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
			
                Yoozoo.Gameplay.RTS.MarchManager gen_to_be_invoked = (Yoozoo.Gameplay.RTS.MarchManager)translator.FastGetCSObj(L, 1);
                gen_to_be_invoked.drawLodInfo = LuaAPI.lua_toboolean(L, 2);
            
            } catch(System.Exception gen_e) {
                return LuaAPI.luaL_error(L, $"c# exception: {gen_e}\n{Yoozoo.Framework.Managers.LuaManager.GetTraceBack()}");
            }
            return 0;
        }
        
        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
        static int _s_set_marchContext(RealStatePtr L)
        {
		    try {
                ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
			
                Yoozoo.Gameplay.RTS.MarchManager gen_to_be_invoked = (Yoozoo.Gameplay.RTS.MarchManager)translator.FastGetCSObj(L, 1);
                gen_to_be_invoked.marchContext = (Yoozoo.Gameplay.RTS.MarchContext)translator.GetObject(L, 2, typeof(Yoozoo.Gameplay.RTS.MarchContext));
            
            } catch(System.Exception gen_e) {
                return LuaAPI.luaL_error(L, $"c# exception: {gen_e}\n{Yoozoo.Framework.Managers.LuaManager.GetTraceBack()}");
            }
            return 0;
        }
        
        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
        static int _s_set_audioController(RealStatePtr L)
        {
		    try {
                ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
			
                Yoozoo.Gameplay.RTS.MarchManager gen_to_be_invoked = (Yoozoo.Gameplay.RTS.MarchManager)translator.FastGetCSObj(L, 1);
                gen_to_be_invoked.audioController = (MarchAudioController)translator.GetObject(L, 2, typeof(MarchAudioController));
            
            } catch(System.Exception gen_e) {
                return LuaAPI.luaL_error(L, $"c# exception: {gen_e}\n{Yoozoo.Framework.Managers.LuaManager.GetTraceBack()}");
            }
            return 0;
        }
        
        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
        static int _s_set_moveAudioCount(RealStatePtr L)
        {
		    try {
                ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
			
                Yoozoo.Gameplay.RTS.MarchManager gen_to_be_invoked = (Yoozoo.Gameplay.RTS.MarchManager)translator.FastGetCSObj(L, 1);
                gen_to_be_invoked.moveAudioCount = LuaAPI.xlua_tointeger(L, 2);
            
            } catch(System.Exception gen_e) {
                return LuaAPI.luaL_error(L, $"c# exception: {gen_e}\n{Yoozoo.Framework.Managers.LuaManager.GetTraceBack()}");
            }
            return 0;
        }
        
        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
        static int _s_set_moveAudioCountLimit(RealStatePtr L)
        {
		    try {
                
			    Yoozoo.Gameplay.RTS.MarchManager.moveAudioCountLimit = LuaAPI.xlua_tointeger(L, 1);
            
            } catch(System.Exception gen_e) {
                return LuaAPI.luaL_error(L, $"c# exception: {gen_e}\n{Yoozoo.Framework.Managers.LuaManager.GetTraceBack()}");
            }
            return 0;
        }
        
        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
        static int _s_set_IsInArena(RealStatePtr L)
        {
		    try {
                ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
			
                Yoozoo.Gameplay.RTS.MarchManager gen_to_be_invoked = (Yoozoo.Gameplay.RTS.MarchManager)translator.FastGetCSObj(L, 1);
                gen_to_be_invoked.IsInArena = LuaAPI.lua_toboolean(L, 2);
            
            } catch(System.Exception gen_e) {
                return LuaAPI.luaL_error(L, $"c# exception: {gen_e}\n{Yoozoo.Framework.Managers.LuaManager.GetTraceBack()}");
            }
            return 0;
        }
        
        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
        static int _s_set_fakeTroopParents(RealStatePtr L)
        {
		    try {
                ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
			
                Yoozoo.Gameplay.RTS.MarchManager gen_to_be_invoked = (Yoozoo.Gameplay.RTS.MarchManager)translator.FastGetCSObj(L, 1);
                gen_to_be_invoked.fakeTroopParents = (System.Collections.Generic.Dictionary<long, MarchEntity>)translator.GetObject(L, 2, typeof(System.Collections.Generic.Dictionary<long, MarchEntity>));
            
            } catch(System.Exception gen_e) {
                return LuaAPI.luaL_error(L, $"c# exception: {gen_e}\n{Yoozoo.Framework.Managers.LuaManager.GetTraceBack()}");
            }
            return 0;
        }
        
        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
        static int _s_set_deltaTime(RealStatePtr L)
        {
		    try {
                ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
			
                Yoozoo.Gameplay.RTS.MarchManager gen_to_be_invoked = (Yoozoo.Gameplay.RTS.MarchManager)translator.FastGetCSObj(L, 1);
                gen_to_be_invoked.deltaTime = (float)LuaAPI.lua_tonumber(L, 2);
            
            } catch(System.Exception gen_e) {
                return LuaAPI.luaL_error(L, $"c# exception: {gen_e}\n{Yoozoo.Framework.Managers.LuaManager.GetTraceBack()}");
            }
            return 0;
        }
        
        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
        static int _s_set_clientTime(RealStatePtr L)
        {
		    try {
                ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
			
                Yoozoo.Gameplay.RTS.MarchManager gen_to_be_invoked = (Yoozoo.Gameplay.RTS.MarchManager)translator.FastGetCSObj(L, 1);
                gen_to_be_invoked.clientTime = (float)LuaAPI.lua_tonumber(L, 2);
            
            } catch(System.Exception gen_e) {
                return LuaAPI.luaL_error(L, $"c# exception: {gen_e}\n{Yoozoo.Framework.Managers.LuaManager.GetTraceBack()}");
            }
            return 0;
        }
        
        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
        static int _s_set_cachedTestAction(RealStatePtr L)
        {
		    try {
                ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
			
                Yoozoo.Gameplay.RTS.MarchManager gen_to_be_invoked = (Yoozoo.Gameplay.RTS.MarchManager)translator.FastGetCSObj(L, 1);
                gen_to_be_invoked.cachedTestAction = translator.GetDelegate<System.Action>(L, 2);
            
            } catch(System.Exception gen_e) {
                return LuaAPI.luaL_error(L, $"c# exception: {gen_e}\n{Yoozoo.Framework.Managers.LuaManager.GetTraceBack()}");
            }
            return 0;
        }
        
		
		
		
		
    }
}
